Allow utf8 in roster header char

This and the following commits should make a couple of more configs
allow utf8 chars so people can use their weird icons :-)

We did the same for the otr/omemo/pgp indicators at:
1f8b1eb740
5cf6ee1bc6
This commit is contained in:
Michael Vetter
2021-10-21 15:30:01 +02:00
parent 37e1699c84
commit 91898597dd
6 changed files with 32 additions and 29 deletions

View File

@@ -2388,8 +2388,8 @@ cmd_roster(ProfWin* window, const char* const command, gchar** args)
cons_show("Roster header char removed.");
rosterwin_roster();
} else {
prefs_set_roster_header_char(args[2][0]);
cons_show("Roster header char set to %c.", args[2][0]);
prefs_set_roster_header_char(args[2]);
cons_show("Roster header char set to %c.", args[2]);
rosterwin_roster();
}
} else {