Add missing parameters in XEP-0222 and XEP-0223
This commit is contained in:
@@ -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.
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -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.
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user