Commit 67ff8d93 authored by kaniini's avatar kaniini
Browse files

user: properly cope with actors which do not declare a followers collection

parent cd055983
Pipeline #9137 failed with stages
in 3 minutes and 16 seconds
......@@ -104,9 +104,8 @@ def ap_id(%User{nickname: nickname}) do
def ap_followers(%User{} = user) do
def ap_followers(%User{follower_address: fa}) when is_binary(fa), do: fa
def ap_followers(%User{} = user), do: "#{ap_id(user)}/followers"
def user_info(%User{} = user) do
oneself = if user.local, do: 1, else: 0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment