Add glitch-toc emoji_reaction support

This commit is contained in:
KMY 2023-05-15 08:09:22 +09:00
parent fec0f7e009
commit 5a638a9551
16 changed files with 50 additions and 9 deletions

View file

@ -13,7 +13,7 @@ class REST::NotificationSerializer < ActiveModel::Serializer
end
def status_type?
[:favourite, :emoji_reaction, :reblog, :status, :mention, :poll, :update].include?(object.type)
[:favourite, :emoji_reaction, :reaction, :reblog, :status, :mention, :poll, :update].include?(object.type)
end
def report_type?