Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -158,7 +158,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment