diff options
author | James Booth <boothj5@gmail.com> | 2016-05-06 00:53:03 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-05-06 00:53:03 +0100 |
commit | 88f423afea539bb7c1faa970d989d3e858d874f6 (patch) | |
tree | 30ef612e59dc8daaacb83dd6989ec0a8d633a6c2 /src/xmpp/roster.c | |
parent | 3bb1f1241050d227932d5153abf49fdce9939efb (diff) | |
download | profani-tty-88f423afea539bb7c1faa970d989d3e858d874f6.tar.gz |
Rename jabber_ functions
Diffstat (limited to 'src/xmpp/roster.c')
-rw-r--r-- | src/xmpp/roster.c | 3 |
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); |