aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Rieber <matthias@zu-con.org>2015-08-06 08:44:15 +0200
committerMatthias Rieber <matthias@zu-con.org>2015-08-06 08:44:15 +0200
commitf5e857a5bd9bf59f0ac1c52384b41dc5e0a251a2 (patch)
treecb9366a2389d37a9c0448de5ea03cf65326f4bb2 /src
parentmod_multicast changes: (diff)
typo
Diffstat (limited to 'src')
-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 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">> ->