aboutsummaryrefslogtreecommitdiff
path: root/src/mod_stream_mgmt.erl
diff options
context:
space:
mode:
authorEvgeny Khramtsov <ekhramtsov@process-one.net>2019-06-25 14:36:17 +0300
committerEvgeny Khramtsov <ekhramtsov@process-one.net>2019-06-25 14:36:17 +0300
commit8b300d734b1d3ee2b2d739573dd081467485548c (patch)
treead0cbba632e676144a94571a52c829a5508b02d9 /src/mod_stream_mgmt.erl
parentCall ejabberd_s2s:allow_host/2 with correct virtual host (diff)
Don't propagate downstream already handled message
Diffstat (limited to 'src/mod_stream_mgmt.erl')
-rw-r--r--src/mod_stream_mgmt.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_stream_mgmt.erl b/src/mod_stream_mgmt.erl
index b669bd8d9..405cd8f7c 100644
--- a/src/mod_stream_mgmt.erl
+++ b/src/mod_stream_mgmt.erl
@@ -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.