about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/ui/core.c7
1 files changed, 6 insertions, 1 deletions
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();
 }