do not connect to opened disconnected groupchats. Fixes #6943

This commit is contained in:
Yann Leboulanger 2011-08-18 20:06:31 +02:00
parent 8520bc8c18
commit e93e1cef6e
1 changed files with 0 additions and 5 deletions

View File

@ -2086,11 +2086,6 @@ class RosterWindow:
if gajim.gc_connected[account][gc_control.room_jid]:
gajim.connections[account].send_gc_status(
gc_control.nick, gc_control.room_jid, status, txt)
else:
# for some reason, we are not connected to the room even
# if tab is opened, send initial join_gc()
gajim.connections[account].join_gc(gc_control.nick,
gc_control.room_jid, None)
if was_invisible and status != 'offline':
# We come back from invisible, join bookmarks
gajim.interface.auto_join_bookmarks(account)