Treat User.Info pinned ids as strings

This commit is contained in:
href 2019-01-16 16:15:46 +01:00
commit 973c9eed18
No known key found for this signature in database
GPG key ID: EE8296C1A152C325
2 changed files with 3 additions and 5 deletions

View file

@ -31,7 +31,7 @@ defmodule Pleroma.User.Info do
field(:hub, :string, default: nil)
field(:salmon, :string, default: nil)
field(:hide_network, :boolean, default: false)
field(:pinned_activities, {:array, :integer}, default: [])
field(:pinned_activities, {:array, :string}, default: [])
# Found in the wild
# ap_id -> Where is this used?