about summary refs log tree commit diff
path: root/app/models/account.rb
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2020-02-10 01:16:52 -0600
committermultiple creatures <dev@multiple-creature.party>2020-02-10 01:20:09 -0600
commit73fc76b7a3636b57865dfbe989fab245687f6c20 (patch)
tree4e8bfddf60f88930ff7ef09b44d1600662879362 /app/models/account.rb
parent889fc7255768378afce8a9b330ce04b7e6cc004f (diff)
`this` -> `self`
Diffstat (limited to 'app/models/account.rb')
-rw-r--r--app/models/account.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/account.rb b/app/models/account.rb
index 20181ed57..90da8bd21 100644
--- a/app/models/account.rb
+++ b/app/models/account.rb
@@ -464,7 +464,7 @@ class Account < ApplicationRecord
   def ever_interacted_with?(target_account)
     return false if target_account.nil?
 
-    target_account.following?(this) || ever_mentioned_by?(target_account)
+    target_account.following?(self) || ever_mentioned_by?(target_account)
   end
 
   class Field < ActiveModelSerializers::Model