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
1 changed files with 1 additions and 1 deletions

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.