about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2018-03-10 16:58:52 +0000
committerJames Booth <boothj5@gmail.com>2018-03-10 16:58:52 +0000
commitb38f6ba5128a7ce091021537b2253da81f65cddb (patch)
treeba97781f83ee72f84b56d9881ca247e26056fde0 /src/ui
parentb7cb527608204db6e2c085c2610516714955e1c8 (diff)
downloadprofani-tty-b38f6ba5128a7ce091021537b2253da81f65cddb.tar.gz
Do not highlight room tab on subject change
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/mucwin.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/ui/mucwin.c b/src/ui/mucwin.c
index 02eca6a4..f64a401e 100644
--- a/src/ui/mucwin.c
+++ b/src/ui/mucwin.c
@@ -533,8 +533,6 @@ mucwin_subject(ProfMucWin *mucwin, const char *const nick, const char *const sub
     assert(mucwin != NULL);
 
     ProfWin *window = (ProfWin*)mucwin;
-    int num = wins_get_num(window);
-
     if (subject) {
         if (nick) {
             win_print(window, THEME_ROOMINFO, '!', "*%s has set the room subject: ", nick);
@@ -550,15 +548,6 @@ mucwin_subject(ProfMucWin *mucwin, const char *const nick, const char *const sub
             win_println(window, THEME_ROOMINFO, '!', "Room subject cleared");
         }
     }
-
-    // currently in groupchat window
-    if (wins_is_current(window)) {
-        status_bar_active(num, WIN_MUC, mucwin->roomjid);
-
-    // not currently on groupchat window
-    } else {
-        status_bar_new(num, WIN_MUC, mucwin->roomjid);
-    }
 }
 
 void