* src/mod_muc/mod_muc_room.erl: Bugfix

SVN Revision: 299
This commit is contained in:
Alexey Shchepin 2005-03-16 22:41:41 +00:00
parent 33f408170c
commit 5ba047fa38
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2005-03-17 Alexey Shchepin <alexey@sevcom.net>
* src/mod_muc/mod_muc_room.erl: Bugfix
2005-03-15 Alexey Shchepin <alexey@sevcom.net>
* src/ejabberd_sm.erl: Bugfix

View File

@ -806,8 +806,8 @@ filter_presence({xmlelement, "presence", Attrs, Els}) ->
case El of
{xmlcdata, _} ->
false;
{xmlelement, Name1, _Attrs1, _Els1} ->
XMLNS = xml:get_attr_s("xmlns", Attrs),
{xmlelement, Name1, Attrs1, _Els1} ->
XMLNS = xml:get_attr_s("xmlns", Attrs1),
case {Name1, XMLNS} of
{"show", ""} ->
true;