Merge branch 'hotfix/object-normalize-cache' into 'develop'
[akkoma] / lib / pleroma / user / info.ex
index fb1791c205d8874ecb33126f54768f637dca004c..2186190a066a3d972d50394573ad8f038357e79f 100644 (file)
@@ -30,8 +30,9 @@ defmodule Pleroma.User.Info do
     field(:topic, :string, default: nil)
     field(:hub, :string, default: nil)
     field(:salmon, :string, default: nil)
-    field(:hide_network, :boolean, default: false)
-    field(:pinned_activities, {:array, :integer}, default: [])
+    field(:hide_followers, :boolean, default: false)
+    field(:hide_followings, :boolean, default: false)
+    field(:pinned_activities, {:array, :string}, default: [])
 
     # Found in the wild
     # ap_id -> Where is this used?
@@ -143,7 +144,8 @@ defmodule Pleroma.User.Info do
       :no_rich_text,
       :default_scope,
       :banner,
-      :hide_network,
+      :hide_followings,
+      :hide_followers,
       :background
     ])
   end