about summary refs log tree commit diff stats
path: root/src/xmpp/roster.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-05-06 01:12:54 +0100
committerJames Booth <boothj5@gmail.com>2016-05-06 01:12:54 +0100
commitd1c71e98f4f6b5271e97bc2a5274c92491bfdbd3 (patch)
treeb1427ee5d49a1a1246a124fa2de9a9fd5aef841f /src/xmpp/roster.c
parentcc485ed338c854489f08e95dafdb8503093e5150 (diff)
downloadprofani-tty-d1c71e98f4f6b5271e97bc2a5274c92491bfdbd3.tar.gz
Move connection fulljid function
Diffstat (limited to 'src/xmpp/roster.c')
-rw-r--r--src/xmpp/roster.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/roster.c b/src/xmpp/roster.c
index 28812596..95d4223e 100644
--- a/src/xmpp/roster.c
+++ b/src/xmpp/roster.c
@@ -218,7 +218,7 @@ roster_set_handler(xmpp_stanza_t *const stanza)
     }
 
     // if from attribute exists and it is not current users barejid, ignore push
-    Jid *my_jid = jid_create(session_get_fulljid());
+    Jid *my_jid = jid_create(connection_get_fulljid());
     const char *from = xmpp_stanza_get_attribute(stanza, STANZA_ATTR_FROM);
     if (from && (strcmp(from, my_jid->barejid) != 0)) {
         jid_destroy(my_jid);