Move connection fulljid function

This commit is contained in:
James Booth
2016-05-06 01:12:54 +01:00
parent cc485ed338
commit d1c71e98f4
16 changed files with 31 additions and 31 deletions

View File

@@ -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;

View File

@@ -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) {