transmogrifier: when determining followers collection URI, we may need to fetch the actor
This commit is contained in:
parent
455bb526f6
commit
cd055983c3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue