mastodon api: properly track if an account is locked or not
[akkoma] / lib / pleroma / user.ex
index 690cc7cf36db0c7c234c350a6353f3c96b27b3de..2e57f2b43052558c471e6515c88b72af5cb085e7 100644 (file)
@@ -67,7 +67,8 @@ defmodule Pleroma.User do
     %{
       following_count: length(user.following) - oneself,
       note_count: user.info["note_count"] || 0,
-      follower_count: user.info["follower_count"] || 0
+      follower_count: user.info["follower_count"] || 0,
+      locked: user.info["locked"] || false
     }
   end