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

Merge pull request #84 from cstar/patch-1

Fix publishing on a nodetree_virtual pubsub tree.
This commit is contained in:
Christophe Romain 2013-12-03 00:32:31 -08:00
commit eda3feb284

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()