1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-23 21:45:30 +00:00

Merge pull request #1481 from StefanKropp/titlebar-empty-roomname

Bugfix: Titlebar show name without room name
This commit is contained in:
Michael Vetter 2021-02-14 21:36:00 +01:00 committed by GitHub
commit 3fb26f1e4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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, " ");
}