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

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