diff options
author | James Booth <boothj5@gmail.com> | 2015-05-03 02:04:21 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-05-03 02:04:21 +0100 |
commit | bec9b53f103fce5e542a029ab386455443f67b3c (patch) | |
tree | ea013b3ec908d1ea6695feeccf5a66ef1ae6f9bf /src/ui | |
parent | f65c82e112d52aff2c48cf0ceee388537eaaf3bd (diff) | |
parent | 4e1c2a4f64fd3ed97b9200472f9f627cf16728d4 (diff) | |
download | profani-tty-bec9b53f103fce5e542a029ab386455443f67b3c.tar.gz |
Merge branch 'master' into pgp
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/core.c | 7 |
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(); } |