summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2019-11-05 10:50:03 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2019-11-05 10:50:03 +0300
commite52955c961a225618f00f8f0fc0e7dcbf5a51e23 (patch)
tree0bf5dfb7970545ce0e25bc720130fb1ba4a7a8c4 /lib
parent62bc0657e7ad78a708c1bb6a82eb98aa1f01e819 (diff)
downloadpleroma-e52955c961a225618f00f8f0fc0e7dcbf5a51e23.tar.gz
pleroma-e52955c961a225618f00f8f0fc0e7dcbf5a51e23.zip
update following_relationship.ex
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/following_relationship.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/following_relationship.ex b/lib/pleroma/following_relationship.ex
index 2ffac17ee..3aff9fb76 100644
--- a/lib/pleroma/following_relationship.ex
+++ b/lib/pleroma/following_relationship.ex
@@ -101,7 +101,7 @@ defmodule Pleroma.FollowingRelationship do
|> select([r, u], u.follower_address)
|> Repo.all()
- if not user.local or user.nickname in [nil, "internal.fetch"] do
+ if not user.local or user.invisible do
following
else
[user.follower_address | following]