Add quoted_update notification type (#35820)

This commit is contained in:
Claire
2025-08-25 17:44:18 +02:00
committed by GitHub
parent 7aba79ade9
commit f3a932d8a1
12 changed files with 117 additions and 6 deletions

View File

@@ -24,7 +24,7 @@ class REST::NotificationGroupSerializer < ActiveModel::Serializer
end
def status_type?
[:favourite, :reblog, :status, :mention, :poll, :update, :quote].include?(object.type)
[:favourite, :reblog, :status, :mention, :poll, :update, :quote, :quoted_update].include?(object.type)
end
def report_type?