Software /
code /
prosody
Changeset
7454:d10b4bfb20c5
mod_pep: Use correct field for full JID (thanks Milan*)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 10 Jun 2016 14:55:05 +0200 |
parents | 7453:b1efeee55972 |
children | 7455:82d8c11ab0cb |
files | plugins/mod_pep.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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