about summary refs log tree commit diff stats
path: root/src/ui/rosterwin.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-11-22 02:04:59 +0000
committerJames Booth <boothj5@gmail.com>2015-11-22 02:04:59 +0000
commitc4e8af0b6dfbb787ab29e52d63845d48e01aef2d (patch)
treed1469f69cc34d340d0aa67be0fe5886b355f60d4 /src/ui/rosterwin.c
parentfade5469df19c217c06c73cd28f3b3eb0576d749 (diff)
downloadprofani-tty-c4e8af0b6dfbb787ab29e52d63845d48e01aef2d.tar.gz
Added /roster char resource
Diffstat (limited to 'src/ui/rosterwin.c')
-rw-r--r--src/ui/rosterwin.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/rosterwin.c b/src/ui/rosterwin.c
index 1e43ed8d..ac5a642e 100644
--- a/src/ui/rosterwin.c
+++ b/src/ui/rosterwin.c
@@ -148,6 +148,10 @@ _rosterwin_resources(ProfLayoutSplit *layout, PContact contact, int current_inde
                 g_string_append(msg, " ");
                 this_indent--;
             }
+            char ch = prefs_get_roster_resource_char();
+            if (ch) {
+                g_string_append_printf(msg, "%c", ch);
+            }
             g_string_append(msg, resource->name);
             if (prefs_get_boolean(PREF_ROSTER_PRIORITY)) {
                 g_string_append_printf(msg, " %d", resource->priority);