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