X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=lib%2Fmix%2Ftasks%2Fpleroma%2Frelay.ex;h=f4b7ff6a0bb34bfe739d865a09eb9ef50f06d330;hb=8fa5c66eabc9627c0f7de13a27694276e6920822;hp=4aea5273274f7ec405bc9cb928d8f9f1cb4b1d9d;hpb=ca7b46fb3ba576fb7e67eba02654e6df9299392a;p=akkoma diff --git a/lib/mix/tasks/pleroma/relay.ex b/lib/mix/tasks/pleroma/relay.ex index 4aea52732..f4b7ff6a0 100644 --- a/lib/mix/tasks/pleroma/relay.ex +++ b/lib/mix/tasks/pleroma/relay.ex @@ -9,7 +9,7 @@ defmodule Mix.Tasks.Pleroma.Relay do ## Follow a remote relay - ``mix pleroma.relay unfollow `` + ``mix pleroma.relay follow `` Example: ``mix pleroma.relay follow https://example.org/relay`` @@ -33,7 +33,7 @@ defmodule Mix.Tasks.Pleroma.Relay do def run(["unfollow", target]) do Common.start_pleroma() - with {:ok, activity} <- Relay.follow(target) do + with {:ok, activity} <- Relay.unfollow(target) do # put this task to sleep to allow the genserver to push out the messages :timer.sleep(500) else