Fix var name

This commit is contained in:
Denis Fomin 2010-12-01 03:09:28 +03:00
parent 9aa0206667
commit 5e929d104b
1 changed files with 1 additions and 1 deletions

View File

@ -1052,7 +1052,7 @@ class Interface:
def handle_event_zc_name_conflict(self, obj): def handle_event_zc_name_conflict(self, obj):
def on_ok(new_name): def on_ok(new_name):
gajim.config.set_per('accounts', account, 'name', new_name) gajim.config.set_per('accounts', obj.conn.name, 'name', new_name)
show = obj.conn.old_show show = obj.conn.old_show
status = obj.conn.status status = obj.conn.status
obj.conn.username = new_name obj.conn.username = new_name