25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-06 15:37:52 +01:00

Fix publishing on a nodetree_virtual pubsub tree.

This commit is contained in:
Eric Cestari 2013-07-23 21:16:30 +02:00
parent 5feeacf875
commit 512e016362

View File

@ -125,8 +125,8 @@ get_parentnodes(_Host, _Node, _From) ->
%% Node = mod_pubsub:pubsubNode()
%% From = mod_pubsub:jid()
%% @doc <p>Virtual node tree does not handle parent/child. Child list is empty.</p>
get_parentnodes_tree(_Host, _Node, _From) ->
[].
get_parentnodes_tree(Host, Node, From) ->
[{0, [get_node(Host, Node, From)]}].
%% @spec (Host, Node, From) -> [pubsubNode()]
%% Host = mod_pubsub:host()