Fix handling of QuoteRequest rejections when those can't be found by id (#39820)
This commit is contained in:
1 parent
ef1a880fe1
commit
3ed1ad7cdb
1 file changed
+1
-1
@@ -37,7 +37,7 @@ class ActivityPub::Activity::Reject < ActivityPub::Activity
|
||||
quote = quote_from_request_json(@object)
|
||||
return unless quote.present? && quote.status.local?
|
||||
|
||||
reject_quote!(quoting_status.quote)
|
||||
reject_quote!(quote)
|
||||
end
|
||||
|
||||
def reject_quote!(quote)
|
||||
|
||||
Reference in new issue
Block a user