diff options
author | mathieui <mathieui@mathieui.net> | 2021-04-19 23:19:40 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2021-04-19 23:19:40 +0200 |
commit | 7bb94afdc856a4f534fe1657620e2646d8da5238 (patch) | |
tree | 32b29b5984494cb3f99d3dea9a309d759fda50d5 | |
parent | 8828a5b99dcf9134b200efe1bc4a60e2f0d350bb (diff) | |
download | slixmpp-7bb94afdc856a4f534fe1657620e2646d8da5238.tar.gz slixmpp-7bb94afdc856a4f534fe1657620e2646d8da5238.tar.bz2 slixmpp-7bb94afdc856a4f534fe1657620e2646d8da5238.tar.xz slixmpp-7bb94afdc856a4f534fe1657620e2646d8da5238.zip |
XEP-0163: do not broadcast caps when adding/removing interest
-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, ) |