diff --git a/src/gui_interface.py b/src/gui_interface.py index 1214048ba32c682648e1ac289490fca3d6d9df01..388bf14b1dd85177f4011c6223b6d250dc955c51 100644 --- a/src/gui_interface.py +++ b/src/gui_interface.py @@ -1672,9 +1672,10 @@ class Interface: def handle_event_zc_name_conflict(self, account, data): def on_ok(new_name): gajim.config.set_per('accounts', account, 'name', new_name) + show = gajim.connections[account].old_show status = gajim.connections[account].status gajim.connections[account].username = new_name - gajim.connections[account].change_status(status, '') + gajim.connections[account].change_status(show, status) def on_cancel(): gajim.connections[account].change_status('offline', '')