Fix error

This commit is contained in:
KMY 2023-09-15 10:12:08 +09:00
parent c0ff0754a3
commit 82524fb659

View file

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