about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-04-14 20:32:51 +0100
committerJames Booth <boothj5@gmail.com>2014-04-14 20:32:51 +0100
commitcc68fc5e9a7346d501c8c7df8444acc1f538ef58 (patch)
tree5e261c93ef31de448a19c8861b3638febefd70d2 /src
parent74c746f852fc6795b53eb43896435a2c047db7eb (diff)
downloadprofani-tty-cc68fc5e9a7346d501c8c7df8444acc1f538ef58.tar.gz
Show console message on room autojoin
Diffstat (limited to 'src')
-rw-r--r--src/ui/core.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/core.c b/src/ui/core.c
index 9c7d321f..e96d5fff 100644
--- a/src/ui/core.c
+++ b/src/ui/core.c
@@ -1235,6 +1235,9 @@ _ui_room_join(char *room, gboolean focus)
         ui_switch_win(num);
     } else {
         status_bar_active(num);
+        ProfWin *console = wins_get_console();
+        win_vprint_line(console, '!', COLOUR_ONLINE, "-> Autojoined %s (%d).", room, num);
+        win_update_virtual(console);
     }
 }