Move connection fulljid function

This commit is contained in:
James Booth
2016-05-06 01:12:54 +01:00
parent cc485ed338
commit d1c71e98f4
16 changed files with 31 additions and 31 deletions

View File

@@ -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);