Skip to content

Commit

Permalink
Use mongoose_backend:call instead of tracked in mongoose_muc_online_b…
Browse files Browse the repository at this point in the history
…ackend
  • Loading branch information
arcusfelis committed Aug 2, 2023
1 parent 7fc4538 commit b3bede2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/muc/mongoose_muc_online_backend.erl
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ room_destroyed(HostType, MucHost, Room, Pid) ->
{ok, pid()} | {error, not_found}.
find_room_pid(HostType, MucHost, Room) ->
Args = [HostType, MucHost, Room],
mongoose_backend:call_tracked(HostType, ?MAIN_MODULE, ?FUNCTION_NAME, Args).
mongoose_backend:call(HostType, ?MAIN_MODULE, ?FUNCTION_NAME, Args).

-spec get_online_rooms(mongooseim:host_type(), jid:lserver()) ->
[mod_muc:muc_online_room()].
Expand All @@ -77,7 +77,7 @@ get_online_rooms(HostType, MucHost) ->
-spec node_cleanup(mongooseim:host_type(), node()) -> ok.
node_cleanup(HostType, Node) ->
Args = [HostType, Node],
mongoose_backend:call_tracked(HostType, ?MAIN_MODULE, ?FUNCTION_NAME, Args).
mongoose_backend:call(HostType, ?MAIN_MODULE, ?FUNCTION_NAME, Args).

clear_table(HostType) ->
mongoose_backend:call(HostType, ?MAIN_MODULE, ?FUNCTION_NAME, [HostType]).

0 comments on commit b3bede2

Please sign in to comment.