diff options
author | mathieui <mathieui@mathieui.net> | 2021-04-20 19:08:46 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2021-04-20 19:08:46 +0200 |
commit | 3630c3d1ccaad8aa668d86d96dd58555d1b25556 (patch) | |
tree | 36315b1f64ccffce606bdd64d22457b25c6d909b /slixmpp/plugins/xep_0163.py | |
parent | 7f0febb929b0db51f300a2986be98af3ff32ca79 (diff) | |
parent | 41fc6a2e6b29927148d2af7ed33d1f1645a31bf4 (diff) | |
download | slixmpp-3630c3d1ccaad8aa668d86d96dd58555d1b25556.tar.gz slixmpp-3630c3d1ccaad8aa668d86d96dd58555d1b25556.tar.bz2 slixmpp-3630c3d1ccaad8aa668d86d96dd58555d1b25556.tar.xz slixmpp-3630c3d1ccaad8aa668d86d96dd58555d1b25556.zip |
Merge branch 'caps-broadcast-presence' into 'master'
Caps: do not broadcast presence on PEP plugin load/unload
See merge request poezio/slixmpp!157
Diffstat (limited to 'slixmpp/plugins/xep_0163.py')
-rw-r--r-- | slixmpp/plugins/xep_0163.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/slixmpp/plugins/xep_0163.py b/slixmpp/plugins/xep_0163.py index b885eec8..d8ab8c8e 100644 --- a/slixmpp/plugins/xep_0163.py +++ b/slixmpp/plugins/xep_0163.py @@ -61,7 +61,7 @@ class XEP_0163(BasePlugin): self.xmpp['xep_0030'].add_feature('%s+notify' % ns, jid=jid) asyncio.ensure_future( - self.xmpp['xep_0115'].update_caps(jid), + self.xmpp['xep_0115'].update_caps(jid, broadcast=False), loop=self.xmpp.loop, ) @@ -82,7 +82,7 @@ class XEP_0163(BasePlugin): self.xmpp['xep_0030'].del_feature(jid=jid, feature='%s+notify' % namespace) asyncio.ensure_future( - self.xmpp['xep_0115'].update_caps(jid), + self.xmpp['xep_0115'].update_caps(jid, broadcast=False), loop=self.xmpp.loop, ) |