Allow utf8 in roster room private char

This commit is contained in:
Michael Vetter
2021-10-22 16:42:57 +02:00
parent 8fc359ba2d
commit fa2881fcea
6 changed files with 22 additions and 27 deletions

View File

@@ -857,9 +857,10 @@ _rosterwin_room(ProfLayoutSplit* layout, ProfMucWin* mucwin)
g_string_append_printf(privmsg, "(%d) ", privwin->unread);
}
char ch = prefs_get_roster_room_private_char();
ch = prefs_get_roster_room_private_char();
if (ch) {
g_string_append_printf(privmsg, "%c", ch);
g_string_append_printf(privmsg, "%s", ch);
free(ch);
}
char* nick = privwin->fulljid + strlen(mucwin->roomjid) + 1;