diff options
author | Jing Sun <jing.sun@logmein.com> | 2017-08-02 10:31:42 +0200 |
---|---|---|
committer | Jing Sun <jing.sun@logmein.com> | 2017-08-02 10:31:42 +0200 |
commit | 50511fcff7526546c65bba179b80d87632d504a5 (patch) | |
tree | 0c5fe350ef1ccd24933f6429f0e8baf94122b3bb /src | |
parent | Fix PubSub send last published items (#1572) (diff) |
Fix spec for mod_pubsub:subscribe_node
Diffstat (limited to 'src')
-rw-r--r-- | src/mod_pubsub.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_pubsub.erl b/src/mod_pubsub.erl index 32ce2897f..4a2e20f87 100644 --- a/src/mod_pubsub.erl +++ b/src/mod_pubsub.erl @@ -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), |