mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Merge pull request #1481 from StefanKropp/titlebar-empty-roomname
Bugfix: Titlebar show name without room name
This commit is contained in:
commit
3fb26f1e4e
@ -307,7 +307,7 @@ win_get_title(ProfWin* window)
|
||||
gboolean show_titlebar_name = prefs_get_boolean(PREF_TITLEBAR_MUC_TITLE_NAME);
|
||||
GString* title = g_string_new("");
|
||||
|
||||
if (show_titlebar_name) {
|
||||
if (show_titlebar_name && mucwin->room_name) {
|
||||
g_string_append(title, mucwin->room_name);
|
||||
g_string_append(title, " ");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user