about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-10-18 00:40:44 +0100
committerJames Booth <boothj5@gmail.com>2014-10-18 00:40:44 +0100
commit014f0f7a918db62ad9fa75b4e2f8e32a208dc55c (patch)
tree6963f58632351bb5ea9a8aa646ddf935802ae012 /src/command
parent8fadb1032a14089afe14b77f0d916d36aa79b715 (diff)
downloadprofani-tty-014f0f7a918db62ad9fa75b4e2f8e32a208dc55c.tar.gz
Don't show join messages on subsequent /join commands
Diffstat (limited to 'src/command')
-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);