25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00
This commit is contained in:
Matthias Rieber 2015-08-06 08:44:15 +02:00
parent 4125dfd166
commit f5e857a5bd

View 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">> ->