mirror of
https://github.com/processone/ejabberd.git
synced 2024-09-29 14:37:44 +02:00
uncomment pubsub_publish_item hook call (EJAB-765)
SVN Revision: 1629
This commit is contained in:
parent
b65caa82fb
commit
385a1d3f0f
@ -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>
|
2008-10-07 Jerome Sautret <jerome.sautret@process-one.net>
|
||||||
|
|
||||||
* src/mod_roster_odbc.erl: fix MySQL multiple requests issue.
|
* src/mod_roster_odbc.erl: fix MySQL multiple requests issue.
|
||||||
|
@ -1486,7 +1486,7 @@ publish_item(Host, ServerHost, Node, Publisher, ItemId, Payload) ->
|
|||||||
node_call(Type, publish_item, [Host, Node, Publisher, PublishModel, MaxItems, ItemId, Payload])
|
node_call(Type, publish_item, [Host, Node, Publisher, PublishModel, MaxItems, ItemId, Payload])
|
||||||
end
|
end
|
||||||
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 = [],
|
Reply = [],
|
||||||
case transaction(Host, Node, Action, sync_dirty) of
|
case transaction(Host, Node, Action, sync_dirty) of
|
||||||
{error, ?ERR_ITEM_NOT_FOUND} ->
|
{error, ?ERR_ITEM_NOT_FOUND} ->
|
||||||
|
Loading…
Reference in New Issue
Block a user