Fix "quote": { "type": "Tombstone" } being ignored
This commit is contained in:
parent
67575e59e6
commit
a186bad399
5 changed files with 68 additions and 2 deletions
|
|
@ -300,7 +300,7 @@ class ActivityPub::ProcessStatusUpdateService < BaseService
|
|||
def update_quote!
|
||||
quote_uri = @status_parser.quote_uri
|
||||
|
||||
if quote_uri.present?
|
||||
if @status_parser.quote?
|
||||
approval_uri = @status_parser.quote_approval_uri
|
||||
approval_uri = nil if unsupported_uri_scheme?(approval_uri)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue