diff options
Diffstat (limited to 'app/models/follow.rb')
-rw-r--r-- | app/models/follow.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/app/models/follow.rb b/app/models/follow.rb index e25c2bc9f..57db8c462 100644 --- a/app/models/follow.rb +++ b/app/models/follow.rb @@ -2,7 +2,6 @@ class Follow < ApplicationRecord include Paginable - include Streamable belongs_to :account belongs_to :target_account, class_name: 'Account' @@ -11,16 +10,4 @@ class Follow < ApplicationRecord validates :account, :target_account, presence: true validates :account_id, uniqueness: { scope: :target_account_id } - - def verb - destroyed? ? :unfollow : :follow - end - - def target - target_account - end - - def title - destroyed? ? "#{account.acct} is no longer following #{target_account.acct}" : "#{account.acct} started following #{target_account.acct}" - end end |