From: rinpatch Date: Sat, 4 May 2019 10:50:39 +0000 (+0300) Subject: Use with_preloaded_bookmark in create_by_object_ap_id_with_object X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=be067ec2ab7d3ebcbad7b1306ab19b266dcda664;p=akkoma Use with_preloaded_bookmark in create_by_object_ap_id_with_object --- diff --git a/lib/pleroma/activity.ex b/lib/pleroma/activity.ex index e432fcb07..ab41364dc 100644 --- a/lib/pleroma/activity.ex +++ b/lib/pleroma/activity.ex @@ -210,9 +210,9 @@ defmodule Pleroma.Activity do activity.data, activity.data ), - preload: [object: o], - preload: :bookmarks + preload: [object: o] ) + |> with_preloaded_bookmarks() end def create_by_object_ap_id_with_object(_), do: nil