correcly use the received password when we're invited to a password protected room

This commit is contained in:
Yann Leboulanger 2015-12-02 23:05:33 +01:00
parent bc880bd892
commit e1b1e5f694

View file

@ -4652,9 +4652,11 @@ class InvitationReceivedDialog:
try:
if self.is_continued:
gajim.interface.join_gc_room(self.account, self.room_jid,
gajim.nicks[self.account], None, is_continued=True)
gajim.nicks[self.account], self.password,
is_continued=True)
else:
JoinGroupchatWindow(self.account, self.room_jid)
JoinGroupchatWindow(self.account, self.room_jid,
password=self.password)
except GajimGeneralException:
pass