0
0
Fork 0

Don't show statuses to blocked users

This commit is contained in:
Eugen Rochko 2016-12-26 19:13:56 +01:00
parent 3282448878
commit 7376af90f7
4 changed files with 44 additions and 6 deletions

View file

@ -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