diff options
author | James Booth <boothj5@gmail.com> | 2016-05-06 01:12:54 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-05-06 01:12:54 +0100 |
commit | d1c71e98f4f6b5271e97bc2a5274c92491bfdbd3 (patch) | |
tree | b1427ee5d49a1a1246a124fa2de9a9fd5aef841f /src/ui | |
parent | cc485ed338c854489f08e95dafdb8503093e5150 (diff) | |
download | profani-tty-d1c71e98f4f6b5271e97bc2a5274c92491bfdbd3.tar.gz |
Move connection fulljid function
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/chatwin.c | 2 | ||||
-rw-r--r-- | src/ui/core.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/chatwin.c b/src/ui/chatwin.c index cf7fb663..d4336c09 100644 --- a/src/ui/chatwin.c +++ b/src/ui/chatwin.c @@ -388,7 +388,7 @@ static void _chatwin_history(ProfChatWin *chatwin, const char *const contact) { if (!chatwin->history_shown) { - Jid *jid = jid_create(session_get_fulljid()); + Jid *jid = jid_create(connection_get_fulljid()); GSList *history = chat_log_get_previous(jid->barejid, contact); jid_destroy(jid); GSList *curr = history; diff --git a/src/ui/core.c b/src/ui/core.c index df8d252f..aa7fdc09 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -1107,7 +1107,7 @@ _ui_draw_term_title(void) jabber_conn_status_t status = connection_get_status(); if (status == JABBER_CONNECTED) { - const char * const jid = session_get_fulljid(); + const char * const jid = connection_get_fulljid(); gint unread = wins_get_total_unread(); if (unread != 0) { |