Added preferences for showing resource in titlebar and messages
This commit is contained in:
@@ -316,7 +316,7 @@ _show_contact_presence(ProfChatWin *chatwin)
|
||||
} else if (session && session->resource) {
|
||||
resource = session->resource;
|
||||
}
|
||||
if (resource) {
|
||||
if (resource && prefs_get_boolean(PREF_RESOURCE_TITLE)) {
|
||||
wprintw(win, "/");
|
||||
wprintw(win, resource);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user