fix 2 TB (fix #640)

This commit is contained in:
Yann Leboulanger 2005-08-03 21:27:26 +00:00
parent 4de1ac6e46
commit b88922f30c
2 changed files with 5 additions and 3 deletions

View File

@ -1287,7 +1287,7 @@ _('To change the account name, you must be disconnected.')).get_response()
gajim.groups[name] = {}
gajim.contacts[name] = {}
gajim.gc_contacts[name] = {}
gajim.gc_connnected[name] = {}
gajim.gc_connected[name] = {}
gajim.newly_added[name] = []
gajim.to_be_removed[name] = []
gajim.nicks[name] = config['name']

View File

@ -571,8 +571,8 @@ class Interface:
gajim.awaiting_messages[name] = {}
# disconnect from server - our status in roster is offline
gajim.connections[name].connected = 1
gajim.connections[name].change_status('offline', None, True)
gajim.connections[name].connected = 0
gajim.gc_contacts[name] = {}
gajim.gc_connected[name] = {}
gajim.nicks[name] = array[1]['name']
gajim.allow_notifications[name] = False
gajim.groups[name] = {}
@ -583,6 +583,8 @@ class Interface:
gajim.encrypted_chats[name] = []
gajim.last_message_time[name] = {}
gajim.status_before_autoaway[name] = {}
gajim.connections[name].change_status('offline', None, True)
gajim.connections[name].connected = 0
if self.windows.has_key('accounts'):
self.windows['accounts'].init_accounts()
self.roster.draw_roster()