XEP-0163: do not broadcast caps when adding/removing interest
This commit is contained in:
parent
8828a5b99d
commit
7bb94afdc8
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue