diff options
Diffstat (limited to 'src/ui/rosterwin.c')
-rw-r--r-- | src/ui/rosterwin.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/ui/rosterwin.c b/src/ui/rosterwin.c index e6337c0d..d7c8875b 100644 --- a/src/ui/rosterwin.c +++ b/src/ui/rosterwin.c @@ -494,7 +494,7 @@ _rosterwin_room(ProfLayoutSplit *layout, ProfMucWin *mucwin) indent--; } } - char ch = prefs_get_roster_contact_char(); + char ch = prefs_get_roster_room_char(); if (ch) { g_string_append_printf(msg, "%c", ch); } @@ -549,14 +549,12 @@ _rosterwin_room(ProfLayoutSplit *layout, ProfMucWin *mucwin) } } - // TODO add preference unreadpos = prefs_get_string(PREF_ROSTER_ROOMS_UNREAD); if ((g_strcmp0(unreadpos, "before") == 0) && privwin->unread > 0) { g_string_append_printf(privmsg, "(%d) ", privwin->unread); } - // TODO add preference - ch = '/'; + ch = prefs_get_roster_private_char(); if (ch) { g_string_append_printf(privmsg, "%c", ch); } @@ -652,6 +650,11 @@ _rosterwin_private_chats(ProfLayoutSplit *layout) g_string_append_printf(privmsg, "(%d) ", privwin->unread); } + ch = prefs_get_roster_private_char(); + if (ch) { + g_string_append_printf(privmsg, "%c", ch); + } + g_string_append(privmsg, privwin->fulljid); if ((g_strcmp0(unreadpos, "after") == 0) && privwin->unread > 0) { |