mod_pep: Use correct field for full JID (thanks Milan*)

This commit is contained in:
Kim Alvefur 2016-06-10 14:55:05 +02:00
parent 39de480ad8
commit 331c8a1358

View file

@ -182,7 +182,7 @@ module:hook("iq/bare/http://jabber.org/protocol/pubsub:pubsub", function(event)
payload.attr.id = id;
session.send(st.reply(stanza));
module:fire_event("pep-publish-item", {
node = node, user = jid_bare(session.jid), actor = session.jid, id = id, session = session, item = st.clone(payload);
node = node, user = jid_bare(session.full_jid), actor = session.jid, id = id, session = session, item = st.clone(payload);
});
return true;
end