From 7bb94afdc856a4f534fe1657620e2646d8da5238 Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 19 Apr 2021 23:19:40 +0200 Subject: XEP-0163: do not broadcast caps when adding/removing interest --- slixmpp/plugins/xep_0163.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'slixmpp') 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, ) -- cgit v1.2.3