Add option to display MUC name or JID in titlebar

Add `/titlebar use [name|jid]`.
This commit is contained in:
Michael Vetter
2020-01-23 19:42:22 +01:00
parent 0401412c64
commit 56b7482b08
9 changed files with 77 additions and 9 deletions

View File

@@ -1158,6 +1158,10 @@ cons_titlebar_setting(void)
} else {
cons_show("Titlebar presence (/titlebar) : OFF");
}
char *muctitle = prefs_get_string(PREF_TITLEBAR_MUC_TITLE);
cons_show("MUC window title (/titlebar) : %s", muctitle);
prefs_free_string(muctitle);
}
void