mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-04 03:25:14 +00:00
Fix serialization of quote post notification groups (#35670)
This commit is contained in:
parent
081d38679f
commit
5318957ab3
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ class REST::NotificationGroupSerializer < ActiveModel::Serializer
|
|||
end
|
||||
|
||||
def status_type?
|
||||
[:favourite, :reblog, :status, :mention, :poll, :update].include?(object.type)
|
||||
[:favourite, :reblog, :status, :mention, :poll, :update, :quote].include?(object.type)
|
||||
end
|
||||
|
||||
def report_type?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue