Fix direct MUC invite

This commit is contained in:
Philipp Hörist 2018-08-04 21:41:44 +02:00
parent 92af78f103
commit 2ce78334ca
1 changed files with 2 additions and 2 deletions

View File

@ -312,8 +312,8 @@ class MUC:
password = app.gc_passwords.get(room, None)
if password:
attrs['password'] = password
message = message.addChild(name='x', attrs=attrs,
namespace=nbxmpp.NS_CONFERENCE)
message.addChild(name='x', attrs=attrs,
namespace=nbxmpp.NS_CONFERENCE)
return message
def _build_mediated_invite(self, room, to, reason, continue_):