25
1
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:
Alexey Shchepin 2012-10-30 14:17:49 +02:00
parent 56e7affdfd
commit 566c046cd5

View File

@ -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 ->