This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Allow attributedTo in a status to be an embedded object (
#6238
)
pull/4/head
puckipedia
6 years ago
committed by
Eugen Rochko
parent
537d2939b1
commit
74c1c9ec01
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/services/activitypub/fetch_remote_status_service.rb
+ 1
- 1
app/services/activitypub/fetch_remote_status_service.rb
View File
@ -30,7 +30,7 @@ class ActivityPub::FetchRemoteStatusService < BaseService
end
def
actor_id
first_of_value
(
@json
[
'attributedTo'
]
)
value_or_id
(
first_of_value
(
@json
[
'attributedTo'
]
)
)
end
def
trustworthy_attribution?
(
uri
,
attributed_to
)
Write
Preview
Loading…
Cancel
Save