diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-01-08 10:57:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-08 10:57:52 +0100 |
commit | dbda87c31f7d7ede7312ba422940841d8c96c171 (patch) | |
tree | 281593f9871d93329fdaf0f2337ee0ced23540b9 /app/models | |
parent | e4a241abefaa68492938c3fbb7e5e5401d12138e (diff) |
Revert #5772 (#6221)
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/follow_request.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/follow_request.rb b/app/models/follow_request.rb index 33e5fec12..ebf6959ce 100644 --- a/app/models/follow_request.rb +++ b/app/models/follow_request.rb @@ -21,10 +21,6 @@ class FollowRequest < ApplicationRecord validates :account_id, uniqueness: { scope: :target_account_id } - def object_type - :follow - end - def authorize! account.follow!(target_account, reblogs: show_reblogs) MergeWorker.perform_async(target_account.id, account.id) |