Add compatibility hack for GoToSocial interaction policies (#36004)
This commit is contained in:
1 parent
bc952ebde9
commit
14cb5ff881
1 file changed
+9
@@ -232,6 +232,15 @@ class ActivityPub::NoteSerializer < ActivityPub::Serializer
|
||||
canQuote: {
|
||||
automaticApproval: approved_uris,
|
||||
},
|
||||
canReply: {
|
||||
always: 'https://www.w3.org/ns/activitystreams#Public',
|
||||
},
|
||||
canLike: {
|
||||
always: 'https://www.w3.org/ns/activitystreams#Public',
|
||||
},
|
||||
canAnnounce: {
|
||||
always: 'https://www.w3.org/ns/activitystreams#Public',
|
||||
},
|
||||
}
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user