summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2016-10-27 00:21:01 +0200
committermathieui <mathieui@mathieui.net>2016-10-27 00:21:01 +0200
commit58bd07628b69737220d89f27c930e381c597e61b (patch)
treec654e5e6ca899ae7259c76e3a1456af904c15ef8
parent3569038493a0b1f20409f8e02bbe600cbc7b7c52 (diff)
downloadslixmpp-58bd07628b69737220d89f27c930e381c597e61b.tar.gz
slixmpp-58bd07628b69737220d89f27c930e381c597e61b.tar.bz2
slixmpp-58bd07628b69737220d89f27c930e381c597e61b.tar.xz
slixmpp-58bd07628b69737220d89f27c930e381c597e61b.zip
Add missing parameters in XEP-0222 and XEP-0223
-rw-r--r--slixmpp/plugins/xep_0222.py2
-rw-r--r--slixmpp/plugins/xep_0223.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/slixmpp/plugins/xep_0222.py b/slixmpp/plugins/xep_0222.py
index 7ac7183b..81daed38 100644
--- a/slixmpp/plugins/xep_0222.py
+++ b/slixmpp/plugins/xep_0222.py
@@ -28,7 +28,7 @@ class XEP_0222(BasePlugin):
profile = {'pubsub#persist_items': True,
'pubsub#send_last_published_item': 'never'}
- def configure(self, node):
+ def configure(self, node, ifrom=None, callback=None, timeout=None):
"""
Update a node's configuration to match the public storage profile.
"""
diff --git a/slixmpp/plugins/xep_0223.py b/slixmpp/plugins/xep_0223.py
index 03a191da..566e430b 100644
--- a/slixmpp/plugins/xep_0223.py
+++ b/slixmpp/plugins/xep_0223.py
@@ -28,7 +28,7 @@ class XEP_0223(BasePlugin):
profile = {'pubsub#persist_items': True,
'pubsub#send_last_published_item': 'never'}
- def configure(self, node):
+ def configure(self, node, ifrom=None, callback=None, timeout=None):
"""
Update a node's configuration to match the public storage profile.
"""