# HG changeset patch # User Kim Alvefur # Date 1465563305 -7200 # Node ID d10b4bfb20c51f813fa6daef8c55579530128ad6 # Parent b1efeee55972d688f5d092c49a32af6ced0d2149 mod_pep: Use correct field for full JID (thanks Milan*) diff -r b1efeee55972 -r d10b4bfb20c5 plugins/mod_pep.lua --- a/plugins/mod_pep.lua Thu Jun 09 10:30:33 2016 +0200 +++ b/plugins/mod_pep.lua Fri Jun 10 14:55:05 2016 +0200 @@ -182,7 +182,7 @@ 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