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
cd055983
Commit
cd055983
authored
Mar 19, 2019
by
kaniini
Browse files
transmogrifier: when determining followers collection URI, we may need to fetch the actor
parent
455bb526
Pipeline
#9136
failed with stages
in 6 minutes and 32 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lib/pleroma/web/activity_pub/transmogrifier.ex
View file @
cd055983
...
...
@@ -158,7 +158,7 @@ def fix_implicit_addressing(%{"to" => to, "cc" => cc} = object, followers_collec
def
fix_implicit_addressing
(
object
,
_
),
do
:
object
def
fix_addressing
(
object
)
do
%
User
{}
=
user
=
User
.
get_
cached
_by_ap_id
(
object
[
"actor"
])
%
User
{}
=
user
=
User
.
get_
or_fetch
_by_ap_id
(
object
[
"actor"
])
followers_collection
=
User
.
ap_followers
(
user
)
object
...
...
Write
Preview
Markdown
is supported
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