From 6138b297836f459e4fe5d21dfed30ddd9397b6d4 Mon Sep 17 00:00:00 2001 From: lain Date: Sat, 26 May 2018 15:20:21 +0200 Subject: [PATCH] There are no symbols in JSON. --- lib/pleroma/user.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex index 75e173d0c..b1b935a0f 100644 --- a/lib/pleroma/user.ex +++ b/lib/pleroma/user.ex @@ -174,7 +174,7 @@ def maybe_direct_follow(%User{} = follower, %User{info: info} = followed) do should_direct_follow = cond do # if the account is locked, don't pre-create the relationship - user_info.locked == true -> + user_info["locked"] == true -> false # if the users are blocking each other, we shouldn't even be here, but check for it anyway