Add missing parameters in XEP-0222 and XEP-0223
This commit is contained in:
parent
3569038493
commit
58bd07628b
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
"""
|
||||
|
|
|
@ -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.
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue