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) ->
%%
The node does not support subscriptions.
%%The node does not exist.
%%
--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),