about summary refs log tree commit diff stats
path: root/src/ui/chatwin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/chatwin.c')
-rw-r--r--src/ui/chatwin.c2
1 files changed, 1 insertions, 1 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;