diff options
author | James Booth <boothj5@gmail.com> | 2014-09-28 22:09:20 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-09-28 22:09:20 +0100 |
commit | d25d6b450201ee58f41e55d57da093eafa25e20c (patch) | |
tree | 0ec326336d9d1e6972034a01a86d7100dd9ed848 /src/ui/console.c | |
parent | 41b49cb5d6507636070c4d65f0e3f006c1ac9952 (diff) | |
download | profani-tty-d25d6b450201ee58f41e55d57da093eafa25e20c.tar.gz |
Tidied muc module
Diffstat (limited to 'src/ui/console.c')
-rw-r--r-- | src/ui/console.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/console.c b/src/ui/console.c index 01be3464..a45b2faa 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -454,7 +454,7 @@ _cons_show_bookmarks(const GList *list) int presence_colour = 0; - if (muc_room_is_active(item->jid)) { + if (muc_active(item->jid)) { presence_colour = COLOUR_ONLINE; } win_save_vprint(console, '-', NULL, NO_EOL, presence_colour, "", " %s", item->jid); @@ -467,7 +467,7 @@ _cons_show_bookmarks(const GList *list) if (item->password != NULL) { win_save_print(console, '-', NULL, NO_DATE | NO_EOL, presence_colour, "", " (private)"); } - if (muc_room_is_active(item->jid)) { + if (muc_active(item->jid)) { ProfWin *roomwin = wins_get_by_recipient(item->jid); if (roomwin != NULL) { int num = wins_get_num(roomwin); |