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

Don't propagate downstream already handled message

This commit is contained in:
Evgeny Khramtsov 2019-06-25 14:36:17 +03:00
parent 28b1d88772
commit 8b300d734b

View File

@ -251,7 +251,7 @@ c2s_handle_info(#{jid := JID} = State, {_Ref, {resume, OldState}}) ->
?DEBUG("Received old session state for ~s after failed resumption",
[jid:encode(JID)]),
route_unacked_stanzas(OldState#{mgmt_resend => false}),
State;
{stop, State};
c2s_handle_info(State, _) ->
State.