diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-11-15 14:07:53 -0500 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-11-15 14:07:53 -0500 |
commit | 1862c03a88a5fee03460dae23eb958eaa4d31580 (patch) | |
tree | b4f61532023b0ef12dadab99cc45df9e12a7502e /util/pubsub.lua | |
parent | 20b97c9c9372fd03f9665669399065869eec0bce (diff) | |
parent | baa85ada77e54389fc446cbc2343f70b11613b7c (diff) | |
download | prosody-1862c03a88a5fee03460dae23eb958eaa4d31580.tar.gz prosody-1862c03a88a5fee03460dae23eb958eaa4d31580.zip |
Merge 0.9->trunk
Diffstat (limited to 'util/pubsub.lua')
-rw-r--r-- | util/pubsub.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/pubsub.lua b/util/pubsub.lua index d8ae1f38..8ff458e7 100644 --- a/util/pubsub.lua +++ b/util/pubsub.lua @@ -244,6 +244,7 @@ function service:publish(node, actor, id, item) node_obj = self.nodes[node]; end node_obj.data[id] = item; + self.events.fire_event("item-published", { node = node, actor = actor, id = id, item = item }); self.config.broadcaster(node, node_obj.subscribers, item); return true; end |