diff options
author | Lance Stout <lancestout@gmail.com> | 2012-03-10 10:20:06 -0800 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2012-03-10 10:20:06 -0800 |
commit | 09720dcf429713e18014e1656ff859fce2b23237 (patch) | |
tree | e84b5551db03499ada854f50ebebbec3df67ab5e /sleekxmpp/plugins/xep_0163.py | |
parent | ec044affd4abae4c5b9ca60bbf0caa77e1efbb5c (diff) | |
download | slixmpp-09720dcf429713e18014e1656ff859fce2b23237.tar.gz slixmpp-09720dcf429713e18014e1656ff859fce2b23237.tar.bz2 slixmpp-09720dcf429713e18014e1656ff859fce2b23237.tar.xz slixmpp-09720dcf429713e18014e1656ff859fce2b23237.zip |
Fix XEP-0163's updating of caps.
Diffstat (limited to 'sleekxmpp/plugins/xep_0163.py')
-rw-r--r-- | sleekxmpp/plugins/xep_0163.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sleekxmpp/plugins/xep_0163.py b/sleekxmpp/plugins/xep_0163.py index fc40c751..79bdc4cd 100644 --- a/sleekxmpp/plugins/xep_0163.py +++ b/sleekxmpp/plugins/xep_0163.py @@ -41,7 +41,7 @@ class xep_0163(base_plugin): for ns in namespace: self.xmpp['xep_0030'].add_feature('%s+notify' % ns, jid=jid) - self.xmpp['xep_0115'].update_caps() + self.xmpp['xep_0115'].update_caps(jid) def remove_interest(self, namespace, jid=None): """ @@ -60,7 +60,7 @@ class xep_0163(base_plugin): for ns in namespace: self.xmpp['xep_0030'].del_feature(jid=jid, feature='%s+notify' % namespace) - self.xmpp['xep_0115'].update_caps() + self.xmpp['xep_0115'].update_caps(jid) def publish(self, stanza, node=None, id=None, options=None, ifrom=None, block=True, callback=None, timeout=None): @@ -84,7 +84,6 @@ class xep_0163(base_plugin): Defaults to sleekxmpp.xmlstream.RESPONSE_TIMEOUT callback -- Optional reference to a stream handler function. Will be executed when a reply stanza is received. - """ if node is None: node = stanza.namespace |