about summary refs log tree commit diff stats
path: root/src/command/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/command/commands.c')
-rw-r--r--src/command/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index 60e07835..ecd8a7de 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -1728,7 +1728,7 @@ cmd_join(gchar **args, struct cmd_help_t help)
         presence_join_room(room, nick, passwd);
         muc_join(room, nick, passwd, FALSE);
     } else if (muc_roster_complete(room)) {
-        ui_room_join(room, TRUE);
+        ui_switch_to_room(room);
     }
 
     jid_destroy(room_arg);