Fix error
This commit is contained in:
parent
c0ff0754a3
commit
82524fb659
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue