summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2015-08-06 08:57:10 +0200
committerHolger Weiss <holger@zedat.fu-berlin.de>2015-08-06 08:57:10 +0200
commitd9caa51c12e9cb6703245d33cead2c3a6df1eabc (patch)
treecb9366a2389d37a9c0448de5ea03cf65326f4bb2
parentmod_multicast changes: (diff)
parenttypo (diff)
Merge branch 'typo' of https://github.com/sezuan/ejabberd
-rw-r--r--src/mod_muc_room.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_muc_room.erl b/src/mod_muc_room.erl
index f505c315..7b8d3e99 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">> ->