diff options
Diffstat (limited to 'lib/pleroma/web/common_api.ex')
-rw-r--r-- | lib/pleroma/web/common_api.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/common_api.ex b/lib/pleroma/web/common_api.ex index 9fafa1f27..08bca4ffc 100644 --- a/lib/pleroma/web/common_api.ex +++ b/lib/pleroma/web/common_api.ex @@ -121,7 +121,7 @@ defmodule Pleroma.Web.CommonAPI do @spec follow(User.t(), User.t()) :: {:ok, User.t(), User.t(), Activity.t() | Object.t()} | {:error, :rejected} - def follow(follower, followed) do + def follow(followed, follower) do timeout = Pleroma.Config.get([:activitypub, :follow_handshake_timeout]) with {:ok, follow_data, _} <- Builder.follow(follower, followed), |