mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Update spec of node_hometree get_states (thanks to Magnus Henoch)
This commit is contained in:
parent
50f5356c89
commit
5d92dce21d
@ -816,8 +816,9 @@ get_nodes_helper(NodeTree,
|
||||
false
|
||||
end.
|
||||
|
||||
%% @spec (NodeId) -> [States] | []
|
||||
%% @spec (NodeId) -> {result, [State] | []}
|
||||
%% NodeId = mod_pubsub:pubsubNodeId()
|
||||
%% State = mod_pubsub:pubsubState()
|
||||
%% @doc Returns the list of stored states for a given node.
|
||||
%% <p>For the default PubSub module, states are stored in Mnesia database.</p>
|
||||
%% <p>We can consider that the pubsub_state table have been created by the main
|
||||
|
@ -870,8 +870,9 @@ get_nodes_helper(NodeTree,
|
||||
false
|
||||
end.
|
||||
|
||||
%% @spec (NodeId) -> [States] | []
|
||||
%% @spec (NodeId) -> {result, [State] | []}
|
||||
%% NodeId = mod_pubsub:pubsubNodeId()
|
||||
%% State = mod_pubsub:pubsubState()
|
||||
%% @doc Returns the list of stored states for a given node.
|
||||
%% <p>For the default PubSub module, states are stored in Mnesia database.</p>
|
||||
%% <p>We can consider that the pubsub_state table have been created by the main
|
||||
|
Loading…
Reference in New Issue
Block a user