mirror of
https://github.com/processone/ejabberd.git
synced 2024-10-31 15:21:38 +01:00
Fixed "message" tag checking in standby mode
This commit is contained in:
parent
56e7affdfd
commit
566c046cd5
@ -2130,7 +2130,7 @@ send_or_enqueue_packet(State, From, To, Packet) ->
|
|||||||
#xmlel{name = Name} = Packet,
|
#xmlel{name = Name} = Packet,
|
||||||
if State#state.reception and
|
if State#state.reception and
|
||||||
not (State#state.standby and
|
not (State#state.standby and
|
||||||
(Name /= "message")) ->
|
(Name /= <<"message">>)) ->
|
||||||
send_element(State, Packet),
|
send_element(State, Packet),
|
||||||
ack(State, From, To, Packet);
|
ack(State, From, To, Packet);
|
||||||
true ->
|
true ->
|
||||||
|
Loading…
Reference in New Issue
Block a user