activitypub: add missing with_preloaded_object()
authorWilliam Pitcock <nenolod@dereferenced.org>
Sat, 23 Mar 2019 00:53:35 +0000 (00:53 +0000)
committerWilliam Pitcock <nenolod@dereferenced.org>
Sat, 23 Mar 2019 00:53:35 +0000 (00:53 +0000)
lib/pleroma/web/activity_pub/activity_pub.ex

index 9cca7ec6fdea985244e293a7e76d8081aed82df7..95bbadec1cb8aeb5d973f0e232834ea9a4da5157 100644 (file)
@@ -438,6 +438,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
           ),
         order_by: [desc: :id]
       )
+      |> Activity.with_preloaded_object()
 
     Repo.all(query)
   end