From f5e857a5bd9bf59f0ac1c52384b41dc5e0a251a2 Mon Sep 17 00:00:00 2001 From: Matthias Rieber Date: Thu, 6 Aug 2015 08:44:15 +0200 Subject: [PATCH] typo --- src/mod_muc_room.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_muc_room.erl b/src/mod_muc_room.erl index f505c3155..7b8d3e991 100644 --- a/src/mod_muc_room.erl +++ b/src/mod_muc_room.erl @@ -1050,7 +1050,7 @@ process_presence(From, Nick, drop -> {next_state, normal_state, StateData}; #xmlel{attrs = Attrs} = Packet -> - Type = xml:get_attr_s(<<"xml:lang">>, Attrs), + Type = xml:get_attr_s(<<"type">>, Attrs), Lang = xml:get_attr_s(<<"xml:lang">>, Attrs), StateData1 = case Type of <<"unavailable">> ->