summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slixmpp/plugins/xep_0045/muc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slixmpp/plugins/xep_0045/muc.py b/slixmpp/plugins/xep_0045/muc.py
index 03d01dba..810bc51e 100644
--- a/slixmpp/plugins/xep_0045/muc.py
+++ b/slixmpp/plugins/xep_0045/muc.py
@@ -88,7 +88,7 @@ class XEP_0045(BasePlugin):
self.xmpp.register_handler(
Callback(
'MUCPresence',
- MatchXMLMask("<presence xmlns='%s' />" % self.xmpp.default_ns),
+ StanzaPath("presence/muc"),
self.handle_groupchat_presence,
))
self.xmpp.register_handler(