aboutsummaryrefslogtreecommitdiffstats
path: root/util/pubsub.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2014-11-20 09:02:23 +0000
committerMatthew Wild <mwild1@gmail.com>2014-11-20 09:02:23 +0000
commit1717f1f2e18c51a7c3091f4a98f35db0b1de6860 (patch)
tree217d4945ee7c4a160ca684c43b495dbb4f73e3ad /util/pubsub.lua
parent083fe317b7d5bd743f31b7b0a115f710105eda41 (diff)
parent958a4e177ba331c8a1e6ccd333ab5892a8f86bfc (diff)
downloadprosody-1717f1f2e18c51a7c3091f4a98f35db0b1de6860.tar.gz
prosody-1717f1f2e18c51a7c3091f4a98f35db0b1de6860.zip
Merge 0.10->trunk
Diffstat (limited to 'util/pubsub.lua')
-rw-r--r--util/pubsub.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/pubsub.lua b/util/pubsub.lua
index 2f8525b6..c15a41d7 100644
--- a/util/pubsub.lua
+++ b/util/pubsub.lua
@@ -294,7 +294,7 @@ function service:publish(node, actor, id, item)
node_data[id] = item;
trim_items(node_data, node_obj.config["pubsub#max_items"]);
self.events.fire_event("item-published", { node = node, actor = actor, id = id, item = item });
- self.config.broadcaster("items", node, node_obj.subscribers, item);
+ self.config.broadcaster("items", node, node_obj.subscribers, item, actor);
return true;
end