Added /roster char contact

This commit is contained in:
James Booth
2015-11-20 00:06:46 +00:00
parent 3f18c8c35d
commit 16fbdedceb
10 changed files with 83 additions and 0 deletions

View File

@@ -139,6 +139,10 @@ _rosterwin_contact(ProfLayoutSplit *layout, PContact contact)
wattron(layout->subwin, theme_attrs(presence_colour));
GString *msg = g_string_new(" ");
char ch = prefs_get_roster_contact_char();
if (ch) {
g_string_append_printf(msg, "%c", ch);
}
g_string_append(msg, name);
win_printline_nowrap(layout->subwin, msg->str);
g_string_free(msg, TRUE);