aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-10-22 02:26:06 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-10-22 02:26:06 +0500
commit8ca1f81738b7f2e8b78e8f0df5efb41a4c485bbc (patch)
treecd10ad60ca4c2c9f8d984e586bbd0ad2400b0c70 /plugins
parent6a1146aeefa23b72e8802090aa4a82e40032b985 (diff)
downloadprosody-8ca1f81738b7f2e8b78e8f0df5efb41a4c485bbc.tar.gz
prosody-8ca1f81738b7f2e8b78e8f0df5efb41a4c485bbc.zip
PEP: Send publish IQ result before broadcast.
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 66197f7a..70934adf 100644
--- a/plugins/mod_pep.lua
+++ b/plugins/mod_pep.lua
@@ -134,8 +134,8 @@ module:hook("iq/bare/http://jabber.org/protocol/pubsub:pubsub", function(event)
local node = payload.attr.node;
payload = payload.tags[1];
if payload and payload.name == "item" then -- <item>
- publish(session, node, st.clone(payload));
session.send(st.reply(stanza));
+ publish(session, node, st.clone(payload));
return true;
end
end