relay list shows hosts without accepted follow

This commit is contained in:
Alexander Strizhakov 2020-02-25 16:21:48 +03:00 committed by rinpatch
commit 7cf7083076
8 changed files with 108 additions and 4 deletions

View file

@ -35,7 +35,7 @@ defmodule Mix.Tasks.Pleroma.Relay do
def run(["list"]) do
start_pleroma()
with {:ok, list} <- Relay.list() do
with {:ok, list} <- Relay.list(true) do
list |> Enum.each(&shell_info(&1))
else
{:error, e} -> shell_error("Error while fetching relay subscription list: #{inspect(e)}")