From 58bd07628b69737220d89f27c930e381c597e61b Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 27 Oct 2016 00:21:01 +0200 Subject: Add missing parameters in XEP-0222 and XEP-0223 --- slixmpp/plugins/xep_0222.py | 2 +- slixmpp/plugins/xep_0223.py | 2 +- 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. """ -- cgit v1.2.3