Fix "You are already in this GC" bugging at reconnection. Happened if we receive
bookmarks after we already reconnected to opened GC
This commit is contained in:
parent
f6f6f9fe5c
commit
88f7abd795
|
@ -1534,9 +1534,13 @@ class Interface:
|
|||
|
||||
# join autojoinable rooms
|
||||
for bm in bms:
|
||||
minimize = bm['minimize'] in ('1', 'true')
|
||||
if bm['autojoin'] in ('1', 'true'):
|
||||
self.roster.join_gc_room(account, bm['jid'], bm['nick'],
|
||||
jid = bm['jid']
|
||||
if not gajim.gc_connected[account].has_key(jid) or \
|
||||
not gajim.gc_connected[account][jid]:
|
||||
# we are not already connected
|
||||
minimize = bm['minimize'] in ('1', 'true')
|
||||
self.roster.join_gc_room(account, jid, bm['nick'],
|
||||
bm['password'], minimize = minimize)
|
||||
|
||||
def handle_event_file_send_error(self, account, array):
|
||||
|
|
Loading…
Reference in New Issue