diff --git a/src/mod_pubsub/mod_pubsub.erl b/src/mod_pubsub/mod_pubsub.erl index e65f548a4..0cb71ee98 100644 --- a/src/mod_pubsub/mod_pubsub.erl +++ b/src/mod_pubsub/mod_pubsub.erl @@ -534,7 +534,7 @@ handle_cast({presence, User, Server, Resources, JID}, State) -> _ -> ok end - end, tree_action(Host, get_nodes, [Owner, JID])), + end, tree_action(Host, get_nodes, [Owner])), {noreply, State}; handle_cast({remove_user, LUser, LServer}, State) ->