1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-29 19:56:07 -04:00

Show resource in status bar

This commit is contained in:
James Booth 2015-05-03 02:04:04 +01:00
parent f25f90b38b
commit 4e1c2a4f64

View File

@ -618,7 +618,12 @@ ui_handle_login_account_success(ProfAccount *account)
contact_presence_t contact_presence = contact_presence_from_resource_presence(resource_presence);
cons_show_login_success(account);
title_bar_set_presence(contact_presence);
status_bar_print_message(account->jid);
GString *fulljid = g_string_new(account->jid);
g_string_append(fulljid, "/");
g_string_append(fulljid, account->resource);
status_bar_print_message(fulljid->str);
g_string_free(fulljid, TRUE);
status_bar_update_virtual();
}