mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-07 19:22:14 +09:00
fix(gateway): restore erlfmt style in the presence rpc module (#2241)
This commit is contained in:
@@ -21,8 +21,7 @@ execute_method(<<"presence.has_active">>, P) -> handle_has_active(P);
|
||||
execute_method(<<"presence.add_temporary_guild">>, P) -> handle_add_temp_guild(P);
|
||||
execute_method(<<"presence.remove_temporary_guild">>, P) -> handle_remove_temp_guild(P);
|
||||
execute_method(<<"presence.sync_group_dm_recipients">>, P) -> handle_sync_dm_recipients(P);
|
||||
execute_method(Method, _Params) ->
|
||||
gateway_rpc_error:raise(<<"Unknown method: ", Method/binary>>).
|
||||
execute_method(Method, _P) -> gateway_rpc_error:raise(<<"Unknown method: ", Method/binary>>).
|
||||
|
||||
-spec handle_dispatch(map()) -> true.
|
||||
handle_dispatch(#{<<"user_id">> := UserIdBin, <<"event">> := Event, <<"data">> := Data}) ->
|
||||
|
||||
Reference in New Issue
Block a user