diff options
author | Alex Gleason <alex@alexgleason.me> | 2021-11-26 23:10:01 -0600 |
---|---|---|
committer | Alex Gleason <alex@alexgleason.me> | 2021-11-26 23:10:01 -0600 |
commit | 6519f59d91d858273f929dc1c2a36752f6db07a9 (patch) | |
tree | 1ea776771ad4422b86cb3c756ffb6a44c4aab489 /lib/pleroma/web/mastodon_api | |
parent | 8dc1d2201a21d88090c114b59e1d06f76db66897 (diff) | |
download | pleroma-6519f59d91d858273f929dc1c2a36752f6db07a9.tar.gz |
v2 Suggestions: return `is_suggested` through the API
Diffstat (limited to 'lib/pleroma/web/mastodon_api')
-rw-r--r-- | lib/pleroma/web/mastodon_api/views/account_view.ex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pleroma/web/mastodon_api/views/account_view.ex b/lib/pleroma/web/mastodon_api/views/account_view.ex index 9e9de33f6..6114e12b1 100644 --- a/lib/pleroma/web/mastodon_api/views/account_view.ex +++ b/lib/pleroma/web/mastodon_api/views/account_view.ex @@ -269,6 +269,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountView do ap_id: user.ap_id, also_known_as: user.also_known_as, is_confirmed: user.is_confirmed, + is_suggested: user.is_suggested, tags: user.tags, hide_followers_count: user.hide_followers_count, hide_follows_count: user.hide_follows_count, |