This commit is contained in:
Yann Leboulanger 2005-08-03 19:37:23 +00:00
parent 9348bb4b99
commit ba796be13b
1 changed files with 2 additions and 1 deletions

View File

@ -229,7 +229,8 @@ class Interface:
gajim.allow_notifications[account] = False gajim.allow_notifications[account] = False
# we are disconnected from all gc # we are disconnected from all gc
for room_jid in gajim.gc_connected[account]: for room_jid in gajim.gc_connected[account]:
self.windows[account]['gc'][room_jid].got_disconnected(room_jid) if self.windows[account]['gc'].has_key(room_jid):
self.windows[account]['gc'][room_jid].got_disconnected(room_jid)
self.roster.on_status_changed(account, status) self.roster.on_status_changed(account, status)
if self.remote and self.remote.is_enabled(): if self.remote and self.remote.is_enabled():
self.remote.raise_signal('AccountPresence', (status, account)) self.remote.raise_signal('AccountPresence', (status, account))