diff options
-rw-r--r-- | src/ejabberd_sm.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ejabberd_sm.erl b/src/ejabberd_sm.erl index 678452951..bfe6e934f 100644 --- a/src/ejabberd_sm.erl +++ b/src/ejabberd_sm.erl @@ -539,6 +539,8 @@ do_route(From, To, #xmlel{} = Packet) -> <<"message">> -> case xml:get_attr_s(<<"type">>, Attrs) of <<"chat">> -> route_message(From, To, Packet, chat); + <<"normal">> -> route_message(From, To, Packet, normal); + <<"">> -> route_message(From, To, Packet, normal); <<"error">> -> ok; _ -> Err = jlib:make_error_reply(Packet, |