diff --git a/src/mod_pubsub/nodetree_virtual.erl b/src/mod_pubsub/nodetree_virtual.erl index ff216c30d..746d664f2 100644 --- a/src/mod_pubsub/nodetree_virtual.erl +++ b/src/mod_pubsub/nodetree_virtual.erl @@ -125,8 +125,8 @@ get_parentnodes(_Host, _Node, _From) -> %% Node = mod_pubsub:pubsubNode() %% From = mod_pubsub:jid() %% @doc
Virtual node tree does not handle parent/child. Child list is empty.
-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()