mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_pep: Use correct field for full JID (thanks Milan*)
This commit is contained in:
parent
39de480ad8
commit
331c8a1358
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue