uncomment pubsub_publish_item hook call (EJAB-765)
authorChristophe Romain <christophe.romain@process-one.net>
Fri, 10 Oct 2008 20:22:18 +0000 (20:22 +0000)
committerChristophe Romain <christophe.romain@process-one.net>
Fri, 10 Oct 2008 20:22:18 +0000 (20:22 +0000)
SVN Revision: 1629

ChangeLog
src/mod_pubsub/mod_pubsub.erl

index e28979a4a580a50d6331b89287806c29764260bc..1938f9f14585ce57a03f8ac2b7d2a5c5de93ebb4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-07  Christophe Romain <christophe.romain@process-one.net>
+
+       * src/mod_pubsub/mod_pubsub.erl: uncomment pubsub_publish_item hook
+       call (EJAB-765)
+
 2008-10-07  Jerome Sautret  <jerome.sautret@process-one.net>
 
        * src/mod_roster_odbc.erl: fix MySQL multiple requests issue.
index a7084fad68be4c8e3e4b9b83342d8f24c580177f..2ada3a5149674e121e49f270ebdf24358ad4c855 100644 (file)
@@ -1486,7 +1486,7 @@ publish_item(Host, ServerHost, Node, Publisher, ItemId, Payload) ->
                             node_call(Type, publish_item, [Host, Node, Publisher, PublishModel, MaxItems, ItemId, Payload])
                     end
             end,
-    %%ejabberd_hooks:run(pubsub_publish_item, Host, [Host, Node, JID, service_jid(Host), ItemId, Payload]),
+    ejabberd_hooks:run(pubsub_publish_item, Host, [Host, Node, JID, service_jid(Host), ItemId, Payload]),
     Reply = [],
     case transaction(Host, Node, Action, sync_dirty) of
        {error, ?ERR_ITEM_NOT_FOUND} ->