Software / code / prosody
Diff
plugins/mod_pubsub.lua @ 5317:86fab046813f
mod_pubsub: Broadcast items correctly on new subscriptions
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Mon, 28 Jan 2013 01:06:05 +0100 |
| parent | 5314:e5e480d73066 |
| child | 5318:989acb4ad1de |
line wrap: on
line diff
--- a/plugins/mod_pubsub.lua Sun Jan 27 17:11:45 2013 +0100 +++ b/plugins/mod_pubsub.lua Mon Jan 28 01:06:05 2013 +0100 @@ -143,7 +143,7 @@ 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