mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
fix nodetree virtual to allow node subscription
SVN Revision: 2117
This commit is contained in:
parent
c27d6fddf4
commit
bf57f712da
@ -91,9 +91,9 @@ set_node(_NodeRecord) ->
|
|||||||
get_node(Host, Node, _From) ->
|
get_node(Host, Node, _From) ->
|
||||||
get_node(Host, Node).
|
get_node(Host, Node).
|
||||||
get_node(Host, Node) ->
|
get_node(Host, Node) ->
|
||||||
#pubsub_node{nodeid = {Host, Node}, id = {Host, Node}}.
|
#pubsub_node{nodeid = {Host, Node}, id = {Host, Node}, owners = [{"",Host,""}]}.
|
||||||
get_node(NodeId) ->
|
get_node({Host, _} = NodeId) ->
|
||||||
#pubsub_node{nodeid = NodeId, id = NodeId}.
|
#pubsub_node{nodeid = NodeId, id = NodeId, owners = [{"",Host,""}]}.
|
||||||
|
|
||||||
%% @spec (Host) -> [pubsubNode()]
|
%% @spec (Host) -> [pubsubNode()]
|
||||||
%% Host = mod_pubsub:host() | mod_pubsub:jid()
|
%% Host = mod_pubsub:host() | mod_pubsub:jid()
|
||||||
|
Loading…
Reference in New Issue
Block a user