]> granicus.if.org Git - ejabberd/commitdiff
typo
authorMatthias Rieber <matthias@zu-con.org>
Thu, 6 Aug 2015 06:44:15 +0000 (08:44 +0200)
committerMatthias Rieber <matthias@zu-con.org>
Thu, 6 Aug 2015 06:44:15 +0000 (08:44 +0200)
src/mod_muc_room.erl

index f505c31559fc588f8bd971c2e5799005d5a1826e..7b8d3e991fec709754be3fdbb53045e93f06a701 100644 (file)
@@ -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">> ->