Skip to content

Commit

Permalink
Stop processing other handlers in mod_s2s_bidi:s2s_in_handle_info
Browse files Browse the repository at this point in the history
This should fix issue reported in #4344
  • Loading branch information
prefiks committed Jan 22, 2025
1 parent 20a77cb commit 133d52d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mod_s2s_bidi.erl
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ s2s_out_packet(State, _Pkt) ->
State.

s2s_in_handle_info(State, {route, Pkt}) when ?is_stanza(Pkt) ->
ejabberd_s2s_in:send(State, Pkt);
{stop, ejabberd_s2s_in:send(State, Pkt)};
s2s_in_handle_info(State, _Info) ->
State.

Expand Down

0 comments on commit 133d52d

Please sign in to comment.