forked from AkkomaGang/akkoma
activitypub: add missing with_preloaded_object()
This commit is contained in:
parent
e4307cadc8
commit
ba7299fc87
1 changed files with 1 additions and 0 deletions
|
@ -438,6 +438,7 @@ def fetch_activities_for_context(context, opts \\ %{}) do
|
||||||
),
|
),
|
||||||
order_by: [desc: :id]
|
order_by: [desc: :id]
|
||||||
)
|
)
|
||||||
|
|> Activity.with_preloaded_object()
|
||||||
|
|
||||||
Repo.all(query)
|
Repo.all(query)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue