From: Haelwenn (lanodan) Monnier Date: Sat, 10 Nov 2018 13:55:32 +0000 (+0100) Subject: lib/mix/tasks/relay_{un,}follow.ex: Support status reply of Relay.{un,}follow X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=7fbfd2db964ba9d6eac0d6ccd9b5fd94ee38df6f;p=akkoma lib/mix/tasks/relay_{un,}follow.ex: Support status reply of Relay.{un,}follow --- diff --git a/lib/mix/tasks/relay_follow.ex b/lib/mix/tasks/relay_follow.ex index 4d57c6bca..61280d084 100644 --- a/lib/mix/tasks/relay_follow.ex +++ b/lib/mix/tasks/relay_follow.ex @@ -14,7 +14,7 @@ defmodule Mix.Tasks.RelayFollow do def run([target]) do Mix.Task.run("app.start") - :ok = Relay.follow(target) + _status = Relay.follow(target) # put this task to sleep to allow the genserver to push out the messages :timer.sleep(500) diff --git a/lib/mix/tasks/relay_unfollow.ex b/lib/mix/tasks/relay_unfollow.ex index bd69fd8a0..6aa67590b 100644 --- a/lib/mix/tasks/relay_unfollow.ex +++ b/lib/mix/tasks/relay_unfollow.ex @@ -13,7 +13,7 @@ defmodule Mix.Tasks.RelayUnfollow do def run([target]) do Mix.Task.run("app.start") - :ok = Relay.unfollow(target) + _status = Relay.unfollow(target) # put this task to sleep to allow the genserver to push out the messages :timer.sleep(500)