projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a7c146
)
Use with_preloaded_bookmark in create_by_object_ap_id_with_object
author
rinpatch
<rinpatch@sdf.org>
Sat, 4 May 2019 10:50:39 +0000
(13:50 +0300)
committer
William Pitcock
<nenolod@dereferenced.org>
Tue, 7 May 2019 19:33:22 +0000
(19:33 +0000)
lib/pleroma/activity.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/activity.ex
b/lib/pleroma/activity.ex
index e432fcb0738c9a333a068a6f8035e4c332c8a4e1..ab41364dc622daf41412de0053574502f99a3391 100644
(file)
--- 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