Allow utf8 in occupants header char

This commit is contained in:
Michael Vetter
2021-10-22 16:51:15 +02:00
parent 1c96115f97
commit a9bcc8e8bd
6 changed files with 24 additions and 29 deletions

View File

@@ -131,9 +131,10 @@ occupantswin_occupants(const char* const roomjid)
GString* prefix = g_string_new(" ");
char ch = prefs_get_occupants_header_char();
char* ch = prefs_get_occupants_header_char();
if (ch) {
g_string_append_printf(prefix, "%c", ch);
g_string_append_printf(prefix, "%s", ch);
free(ch);
}
if (prefs_get_boolean(PREF_MUC_PRIVILEGES)) {