Add initial support for ingesting and verifying remote quote posts (#34370)
This commit is contained in:
parent
a324edabdf
commit
df2611a10f
33 changed files with 1643 additions and 22 deletions
9
app/serializers/rest/shallow_quote_serializer.rb
Normal file
9
app/serializers/rest/shallow_quote_serializer.rb
Normal file
|
@ -0,0 +1,9 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class REST::ShallowQuoteSerializer < REST::BaseQuoteSerializer
|
||||
attribute :quoted_status_id
|
||||
|
||||
def quoted_status_id
|
||||
quoted_status&.id&.to_s
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue