XEP-0045: Better "groupchat_presence" targeting
(do not make EVERY SINGLE presence go through the 0045 handler)
This commit is contained in:
parent
cccc1253aa
commit
1e23167ce4
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue