Add missing parameters in XEP-0222 and XEP-0223

This commit is contained in:
mathieui 2016-10-27 00:21:01 +02:00
parent 3569038493
commit 58bd07628b
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ class XEP_0222(BasePlugin):
profile = {'pubsub#persist_items': True, profile = {'pubsub#persist_items': True,
'pubsub#send_last_published_item': 'never'} '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. Update a node's configuration to match the public storage profile.
""" """

View File

@ -28,7 +28,7 @@ class XEP_0223(BasePlugin):
profile = {'pubsub#persist_items': True, profile = {'pubsub#persist_items': True,
'pubsub#send_last_published_item': 'never'} '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. Update a node's configuration to match the public storage profile.
""" """