25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

sync pubsub_odbc with last fix

This commit is contained in:
Christophe Romain 2013-06-18 12:23:32 +02:00
parent 8ea41718ac
commit c030e8e136

View File

@ -2704,7 +2704,7 @@ publish_item(Host, ServerHost, Node, Publisher, ItemId, Payload, Access) ->
[#xmlel{name = <<"create">>, [#xmlel{name = <<"create">>,
attrs = [{<<"node">>, NewNode}], attrs = [{<<"node">>, NewNode}],
children = []}]}]} -> children = []}]}]} ->
publish_item(Host, ServerHost, list_to_binary(NewNode), publish_item(Host, ServerHost, NewNode,
Publisher, ItemId, Payload); Publisher, ItemId, Payload);
_ -> _ ->
{error, ?ERR_ITEM_NOT_FOUND} {error, ?ERR_ITEM_NOT_FOUND}