* Fix: 他のサーバー同士のスタンプで`emoji_reaction_policy`が適用される問題 * こっちに変更 * #161 テストを追加 * テスト修正
This commit is contained in:
parent
a87f6f4828
commit
1e46aaaa4e
2 changed files with 202 additions and 0 deletions
|
@ -392,6 +392,7 @@ class Account < ApplicationRecord
|
|||
|
||||
def allow_emoji_reaction?(account)
|
||||
return false if account.nil?
|
||||
return true unless local? || account.local?
|
||||
|
||||
show_emoji_reaction?(account)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue