From 566c046cd5ad69cb008b7ced18479d986bffc078 Mon Sep 17 00:00:00 2001 From: Alexey Shchepin Date: Tue, 30 Oct 2012 14:17:49 +0200 Subject: [PATCH] Fixed "message" tag checking in standby mode --- src/ejabberd_c2s.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ejabberd_c2s.erl b/src/ejabberd_c2s.erl index 3564fa73f..a143bf7b2 100644 --- a/src/ejabberd_c2s.erl +++ b/src/ejabberd_c2s.erl @@ -2130,7 +2130,7 @@ send_or_enqueue_packet(State, From, To, Packet) -> #xmlel{name = Name} = Packet, if State#state.reception and not (State#state.standby and - (Name /= "message")) -> + (Name /= <<"message">>)) -> send_element(State, Packet), ack(State, From, To, Packet); true ->