diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2008-10-10 20:22:18 +0000 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2008-10-10 20:22:18 +0000 |
commit | 385a1d3f0f300b200484683db272a4d2b1fe43ac (patch) | |
tree | 213b1ee613fbede6bf15e532c8fb7267a9b2e9bb /src | |
parent | * src/mod_roster_odbc.erl: fix MySQL multiple requests issue. (diff) |
uncomment pubsub_publish_item hook call (EJAB-765)
SVN Revision: 1629
Diffstat (limited to 'src')
-rw-r--r-- | src/mod_pubsub/mod_pubsub.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_pubsub/mod_pubsub.erl b/src/mod_pubsub/mod_pubsub.erl index a7084fad6..2ada3a514 100644 --- a/src/mod_pubsub/mod_pubsub.erl +++ b/src/mod_pubsub/mod_pubsub.erl @@ -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} -> |