This reverts commit 5135d609b7
.
This commit is contained in:
parent
4a5f73c8ae
commit
a6788662b0
7 changed files with 12 additions and 43 deletions
|
@ -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: true)
|
||||
block_relationships.where(target_account: other_account).first_or_create!(target_account: other_account)
|
||||
end
|
||||
|
||||
def mute!(other_account)
|
||||
mute_relationships.where(target_account: other_account).first_or_create!(target_account: other_account, block: false)
|
||||
mute_relationships.where(target_account: other_account).first_or_create!(target_account: other_account)
|
||||
end
|
||||
|
||||
def unfollow!(other_account)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue