25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

Fix formatting

This commit is contained in:
Evgeny Khramtsov 2019-07-03 12:58:59 +03:00
parent 6e2502ea7d
commit 8180bc22ee

View File

@ -881,7 +881,7 @@ resource_conflict_action(U, S, R) ->
end.
-spec bounce_message_queue(ejabberd_sm:sid(), jid:jid()) -> ok.
bounce_message_queue(SID, JID) ->
bounce_message_queue({_, Pid} = SID, JID) ->
{U, S, R} = jid:tolower(JID),
SIDs = ejabberd_sm:get_session_sids(U, S, R),
case lists:member(SID, SIDs) of
@ -889,7 +889,7 @@ bounce_message_queue(SID, JID) ->
?WARNING_MSG("The session for ~s@~s/~s is supposed to "
"be unregistered, but session identifier ~p "
"still presents in the 'session' table",
[U, S, R]);
[U, S, R, Pid]);
false ->
receive {route, Pkt} ->
ejabberd_router:route(Pkt),