Rejoin MUCs unconditionally on SignedInEvent
There is no reason that any Groupchat should be treated as already connected when we sign in.
This commit is contained in:
parent
cb65cfc5ae
commit
f803b544bc
|
@ -1378,9 +1378,6 @@ class GroupchatControl(ChatControlBase):
|
||||||
def _nec_signed_in(self, obj):
|
def _nec_signed_in(self, obj):
|
||||||
if obj.conn.name != self.account:
|
if obj.conn.name != self.account:
|
||||||
return
|
return
|
||||||
if self.room_jid in gajim.gc_connected[obj.conn.name] and \
|
|
||||||
gajim.gc_connected[obj.conn.name][self.room_jid]:
|
|
||||||
return
|
|
||||||
password = gajim.gc_passwords.get(self.room_jid, '')
|
password = gajim.gc_passwords.get(self.room_jid, '')
|
||||||
obj.conn.join_gc(self.nick, self.room_jid, password, rejoin=True)
|
obj.conn.join_gc(self.nick, self.room_jid, password, rejoin=True)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue