aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-06-10 14:55:05 +0200
committerKim Alvefur <zash@zash.se>2016-06-10 14:55:05 +0200
commitcf0dc0690bfc99f18732fb6166f5dc1259e5ee5c (patch)
tree98976e8b7b77908871d63eef8938e8969eb26af1 /plugins
parent5bbd7c9875ac3dcd65d9cabc8942438031874573 (diff)
downloadprosody-cf0dc0690bfc99f18732fb6166f5dc1259e5ee5c.tar.gz
prosody-cf0dc0690bfc99f18732fb6166f5dc1259e5ee5c.zip
mod_pep: Use correct field for full JID (thanks Milan*)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_pep.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua
index 01007a6d..46517b95 100644
--- a/plugins/mod_pep.lua
+++ b/plugins/mod_pep.lua
@@ -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