From c4104be6665ba29e87a49d71fc3850af23c34cc1 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 28 Jan 2013 01:06:05 +0100 Subject: mod_pubsub: Broadcast items correctly on new subscriptions --- plugins/mod_pubsub.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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 -- cgit v1.2.3