diff options
author | Kim Alvefur <zash@zash.se> | 2013-01-28 01:06:05 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2013-01-28 01:06:05 +0100 |
commit | c4104be6665ba29e87a49d71fc3850af23c34cc1 (patch) | |
tree | c3fa6c38a11e4030a184e7ca5d5696ebe210a7d2 /plugins/mod_pubsub.lua | |
parent | c80dfc3c413d79c2b862557b1c1b5c3753e1dd3b (diff) | |
download | prosody-c4104be6665ba29e87a49d71fc3850af23c34cc1.tar.gz prosody-c4104be6665ba29e87a49d71fc3850af23c34cc1.zip |
mod_pubsub: Broadcast items correctly on new subscriptions
Diffstat (limited to 'plugins/mod_pubsub.lua')
-rw-r--r-- | plugins/mod_pubsub.lua | 2 |
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 |