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 00:53:03 +0100
committerJames Booth <boothj5@gmail.com>2016-05-06 00:53:03 +0100
commit88f423afea539bb7c1faa970d989d3e858d874f6 (patch)
tree30ef612e59dc8daaacb83dd6989ec0a8d633a6c2 /src/xmpp/roster.c
parent3bb1f1241050d227932d5153abf49fdce9939efb (diff)
downloadprofani-tty-88f423afea539bb7c1faa970d989d3e858d874f6.tar.gz
Rename jabber_ functions
Diffstat (limited to 'src/xmpp/roster.c')
-rw-r--r--src/xmpp/roster.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xmpp/roster.c b/src/xmpp/roster.c
index 48f97838..28812596 100644
--- a/src/xmpp/roster.c
+++ b/src/xmpp/roster.c
@@ -57,6 +57,7 @@
 #include "config/preferences.h"
 #include "xmpp/session.h"
 #include "xmpp/iq.h"
+#include "xmpp/connection.h"
 #include "xmpp/roster.h"
 #include "roster_list.h"
 #include "xmpp/stanza.h"
@@ -217,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(jabber_get_fulljid());
+    Jid *my_jid = jid_create(session_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);