Added /roster char resource

This commit is contained in:
James Booth
2015-11-22 02:04:59 +00:00
parent fade5469df
commit c4e8af0b6d
9 changed files with 76 additions and 0 deletions

View File

@@ -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);