From d1c71e98f4f6b5271e97bc2a5274c92491bfdbd3 Mon Sep 17 00:00:00 2001 From: James Booth Date: Fri, 6 May 2016 01:12:54 +0100 Subject: Move connection fulljid function --- src/xmpp/roster.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xmpp/roster.c') 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); -- cgit 1.4.1-2-gfad0