plugin XEP_0249: fixed bad use of namespace in addElement
This commit is contained in:
parent
0a197cab88
commit
93f2d8d948
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ class XEP_0249(object):
|
|||
return
|
||||
message = domish.Element((None, 'message'))
|
||||
message["to"] = target.full()
|
||||
x_elt = message.addElement('x', NS_DIRECT_MUC_INVITATION)
|
||||
x_elt = message.addElement((NS_DIRECT_MUC_INVITATION, 'x'))
|
||||
x_elt['jid'] = room.userhost()
|
||||
for opt in options:
|
||||
x_elt[opt] = options[opt]
|
||||
|
|
|
|||
Loading…
Reference in a new issue