about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'app/models')
-rw-r--r--app/models/follow_suggestion.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/follow_suggestion.rb b/app/models/follow_suggestion.rb
index ff07722ca..146e515a0 100644
--- a/app/models/follow_suggestion.rb
+++ b/app/models/follow_suggestion.rb
@@ -38,6 +38,7 @@ END
 
       query = <<END
 MATCH (b)
+WHERE b.account_id <> {id}
 RETURN b.account_id
 ORDER BY b.nodeRank DESC
 LIMIT {limit}