activitypub: add missing with_preloaded_object()

This commit is contained in:
William Pitcock 2019-03-23 00:53:35 +00:00
parent e4307cadc8
commit ba7299fc87
1 changed files with 1 additions and 0 deletions

View File

@ -438,6 +438,7 @@ def fetch_activities_for_context(context, opts \\ %{}) do
),
order_by: [desc: :id]
)
|> Activity.with_preloaded_object()
Repo.all(query)
end