Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into develop
[akkoma] / lib / pleroma / user.ex
index 75e173d0c8eead31074fff12d19a21f901506dce..b1b935a0f4e95919f2a10e31999c976b16a48915 100644 (file)
@@ -174,7 +174,7 @@ defmodule Pleroma.User 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