Don't show statuses to blocked users
This commit is contained in:
parent
3282448878
commit
7376af90f7
4 changed files with 44 additions and 6 deletions
|
@ -30,7 +30,7 @@ class ProcessInteractionService < BaseService
|
|||
|
||||
case verb(xml)
|
||||
when :follow
|
||||
follow!(account, target_account) unless target_account.locked?
|
||||
follow!(account, target_account) unless target_account.locked? || target_account.blocking?(account)
|
||||
when :unfollow
|
||||
unfollow!(account, target_account)
|
||||
when :favorite
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue