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
commit331c8a1358f7add25142ada7f3293c289dafde0d (patch)
tree98976e8b7b77908871d63eef8938e8969eb26af1 /plugins
parent39de480ad8e4ccce9c1ed14b483b3b58edd25473 (diff)
downloadprosody-331c8a1358f7add25142ada7f3293c289dafde0d.tar.gz
prosody-331c8a1358f7add25142ada7f3293c289dafde0d.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