Fix spec for mod_pubsub:subscribe_node

This commit is contained in:
Jing Sun 2017-08-02 10:31:42 +02:00
parent 5e26190b98
commit 50511fcff7
1 changed files with 1 additions and 1 deletions

View File

@ -1713,7 +1713,7 @@ delete_node(Host, Node, Owner) ->
%%<li>The node does not support subscriptions.</li>
%%<li>The node does not exist.</li>
%%</ul>
-spec subscribe_node(host(), binary(), jid(), binary(), [{binary(), [binary()]}]) ->
-spec subscribe_node(host(), binary(), jid(), jid(), [{binary(), [binary()]}]) ->
{result, pubsub()} | {error, stanza_error()}.
subscribe_node(Host, Node, From, JID, Configuration) ->
SubModule = subscription_plugin(Host),