# HG changeset patch # User Kim Alvefur # Date 1359331565 -3600 # Node ID 86fab046813fdc198091186503fab9453241fd41 # Parent 310c7e5bb906ac97e272b47380192e7b7f93bb11 mod_pubsub: Broadcast items correctly on new subscriptions diff -r 310c7e5bb906 -r 86fab046813f plugins/mod_pubsub.lua --- 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