summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-03-10 10:20:06 -0800
committerLance Stout <lancestout@gmail.com>2012-03-10 10:20:06 -0800
commit09720dcf429713e18014e1656ff859fce2b23237 (patch)
treee84b5551db03499ada854f50ebebbec3df67ab5e /sleekxmpp/plugins
parentec044affd4abae4c5b9ca60bbf0caa77e1efbb5c (diff)
downloadslixmpp-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')
-rw-r--r--sleekxmpp/plugins/xep_0163.py5
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