- with %User{} = user <- Relay.get_actor() do
- user
- |> User.following()
- |> Enum.map(fn entry -> URI.parse(entry).host end)
- |> Enum.uniq()
- |> Enum.each(&shell_info(&1))
+ with {:ok, list} <- Relay.list(true) do
+ list |> Enum.each(&shell_info(&1))