Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
be067ec2
Commit
be067ec2
authored
May 04, 2019
by
rinpatch
Committed by
kaniini
May 07, 2019
Browse files
Use with_preloaded_bookmark in create_by_object_ap_id_with_object
parent
3a7c1464
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/pleroma/activity.ex
View file @
be067ec2
...
...
@@ -210,9 +210,9 @@ def create_by_object_ap_id_with_object(ap_id) when is_binary(ap_id) 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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment