fix 2 TB (fix #640)
This commit is contained in:
parent
4de1ac6e46
commit
b88922f30c
2 changed files with 5 additions and 3 deletions
|
@ -1287,7 +1287,7 @@ _('To change the account name, you must be disconnected.')).get_response()
|
||||||
gajim.groups[name] = {}
|
gajim.groups[name] = {}
|
||||||
gajim.contacts[name] = {}
|
gajim.contacts[name] = {}
|
||||||
gajim.gc_contacts[name] = {}
|
gajim.gc_contacts[name] = {}
|
||||||
gajim.gc_connnected[name] = {}
|
gajim.gc_connected[name] = {}
|
||||||
gajim.newly_added[name] = []
|
gajim.newly_added[name] = []
|
||||||
gajim.to_be_removed[name] = []
|
gajim.to_be_removed[name] = []
|
||||||
gajim.nicks[name] = config['name']
|
gajim.nicks[name] = config['name']
|
||||||
|
|
|
@ -571,8 +571,8 @@ class Interface:
|
||||||
gajim.awaiting_messages[name] = {}
|
gajim.awaiting_messages[name] = {}
|
||||||
# disconnect from server - our status in roster is offline
|
# disconnect from server - our status in roster is offline
|
||||||
gajim.connections[name].connected = 1
|
gajim.connections[name].connected = 1
|
||||||
gajim.connections[name].change_status('offline', None, True)
|
gajim.gc_contacts[name] = {}
|
||||||
gajim.connections[name].connected = 0
|
gajim.gc_connected[name] = {}
|
||||||
gajim.nicks[name] = array[1]['name']
|
gajim.nicks[name] = array[1]['name']
|
||||||
gajim.allow_notifications[name] = False
|
gajim.allow_notifications[name] = False
|
||||||
gajim.groups[name] = {}
|
gajim.groups[name] = {}
|
||||||
|
@ -583,6 +583,8 @@ class Interface:
|
||||||
gajim.encrypted_chats[name] = []
|
gajim.encrypted_chats[name] = []
|
||||||
gajim.last_message_time[name] = {}
|
gajim.last_message_time[name] = {}
|
||||||
gajim.status_before_autoaway[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'):
|
if self.windows.has_key('accounts'):
|
||||||
self.windows['accounts'].init_accounts()
|
self.windows['accounts'].init_accounts()
|
||||||
self.roster.draw_roster()
|
self.roster.draw_roster()
|
||||||
|
|
Loading…
Add table
Reference in a new issue