Commit cd055983 authored by kaniini's avatar kaniini
Browse files

transmogrifier: when determining followers collection URI, we may need to fetch the actor

parent 455bb526
Pipeline #9136 failed with stages
in 6 minutes and 32 seconds
......@@ -158,7 +158,7 @@ def fix_implicit_addressing(%{"to" => to, "cc" => cc} = object, followers_collec
def fix_implicit_addressing(object, _), do: object
def fix_addressing(object) do
%User{} = user = User.get_cached_by_ap_id(object["actor"])
%User{} = user = User.get_or_fetch_by_ap_id(object["actor"])
followers_collection = User.ap_followers(user)
object
......
Markdown is supported
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