diff --git a/app/models/user/relationship/follow.rb b/app/models/user/relationship/follow.rb index 4b2fc9d7..fd4701ba 100644 --- a/app/models/user/relationship/follow.rb +++ b/app/models/user/relationship/follow.rb @@ -21,8 +21,8 @@ class User # Follow an user def follow(target_user) raise Errors::FollowingSelf if target_user == self - raise Errors::FollowingOtherBlockedSelf if self.blocking?(target_user) - raise Errors::FollowingSelfBlockedOther if target_user.blocking?(self) + raise Errors::FollowingOtherBlockedSelf if target_user.blocking?(self) + raise Errors::FollowingSelfBlockedOther if self.blocking?(target_user) create_relationship(active_follow_relationships, target_user) end