From 4e1c2a4f64fd3ed97b9200472f9f627cf16728d4 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 3 May 2015 02:04:04 +0100 Subject: Show resource in status bar --- src/ui/core.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/ui') diff --git a/src/ui/core.c b/src/ui/core.c index 946e3eaf..9deca664 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -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(); } -- cgit 1.4.1-2-gfad0