diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/models/account.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/account.rb b/app/models/account.rb index 19f8ca365..89710b66c 100644 --- a/app/models/account.rb +++ b/app/models/account.rb @@ -87,11 +87,11 @@ class Account < ApplicationRecord end def block!(other_account) - block_relationships.where(target_account: other_account).first_or_create!(target_account: other_account) + block_relationships.where(target_account: other_account).first_or_create!(target_account: other_account, block: true) end def mute!(other_account) - mute_relationships.where(target_account: other_account).first_or_create!(target_account: other_account) + mute_relationships.where(target_account: other_account).first_or_create!(target_account: other_account, block: false) end def unfollow!(other_account) |