Software /
code /
prosody
Changeset
2044:11efc4aecd55
PEP: Send publish IQ result before broadcast.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Thu, 22 Oct 2009 02:26:06 +0500 |
parents | 2043:c0784614b66f |
children | 2045:3b7473a3fa44 |
files | plugins/mod_pep.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_pep.lua Thu Oct 22 02:16:10 2009 +0500 +++ b/plugins/mod_pep.lua Thu Oct 22 02:26:06 2009 +0500 @@ -134,8 +134,8 @@ local node = payload.attr.node; payload = payload.tags[1]; if payload and payload.name == "item" then -- <item> + session.send(st.reply(stanza)); publish(session, node, st.clone(payload)); - session.send(st.reply(stanza)); return true; end end