tmp(wokkel/pubsub): fixed configuration parsing
This commit is contained in:
parent
0c01779ae7
commit
6b0c5dc01a
1 changed files with 1 additions and 1 deletions
|
|
@ -470,7 +470,7 @@ class PubSubRequest(generic.Stanza):
|
|||
Parse optional node configuration form in create request.
|
||||
"""
|
||||
for element in verbElement.parent.elements():
|
||||
if element.uri == NS_PUBSUB_OWNER and element.name == 'configure':
|
||||
if element.uri in (NS_PUBSUB, NS_PUBSUB_OWNER) and element.name == 'configure':
|
||||
form = data_form.findForm(element, NS_PUBSUB_NODE_CONFIG)
|
||||
if form is not None:
|
||||
if form.formType != 'submit':
|
||||
|
|
|
|||
Loading…
Reference in a new issue