aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2013-01-28 01:06:05 +0100
committerKim Alvefur <zash@zash.se>2013-01-28 01:06:05 +0100
commit9468212a73173752909bb15af9964e6fbb6d154b (patch)
treec3fa6c38a11e4030a184e7ca5d5696ebe210a7d2 /plugins/mod_pubsub.lua
parentd11b41d1dd5cbdbdc3f6ec4752767a5fefbf5798 (diff)
downloadprosody-9468212a73173752909bb15af9964e6fbb6d154b.tar.gz
prosody-9468212a73173752909bb15af9964e6fbb6d154b.zip
mod_pubsub: Broadcast items correctly on new subscriptions
Diffstat (limited to 'plugins/mod_pubsub.lua')
-rw-r--r--plugins/mod_pubsub.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_pubsub.lua b/plugins/mod_pubsub.lua
index 56496584..8b6aea6c 100644
--- a/plugins/mod_pubsub.lua
+++ b/plugins/mod_pubsub.lua
@@ -143,7 +143,7 @@ function handlers.set_subscribe(origin, stanza, subscribe)
if items then
local jids = { [jid] = options or true };
for id, item in pairs(items) do
- service.config.broadcaster(node, jids, item);
+ service.config.broadcaster("items", node, jids, item);
end
end
end