Skip to content
Snippets Groups Projects
Commit 35e6ac3d authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

we can now join password protected groupchats

parent 5a775c82
No related branches found
No related tags found
No related merge requests found
......@@ -833,7 +833,9 @@ class Connection:
return
p = common.xmpp.Presence(to = '%s@%s/%s' % (room, server, nick),
show = STATUS_LIST[self.connected], status = self.status)
p.setTag(common.xmpp.NS_MUC + ' x')
t = p.setTag(common.xmpp.NS_MUC + ' x')
if password:
t.setTagData('password', password)
self.connection.send(p)
def send_gc_message(self, jid, msg):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment