Merge remote-tracking branch 'origin/kb_patch' into kb_migration

This commit is contained in:
KMY 2023-09-15 10:29:55 +09:00
commit 67729767a2

View file

@ -142,7 +142,7 @@ class REST::StatusSerializer < ActiveModel::Serializer
relationships.emoji_reaction_allows_map[object.account_id] || false
else
object.account.show_emoji_reaction?(current_user.account)
object.account.show_emoji_reaction?(current_user&.account)
end
end