aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-09-16 11:52:33 +0200
committerRoger Braun <roger@rogerbraun.net>2017-09-16 11:52:33 +0200
commit0872f5f394b2ca86c8cf0248a28f4aeeb1f03d7a (patch)
treec622ad0bd47db572f20b9766503a50a2cd3f6030 /lib
parent56022936902a5ab738200ef1a04724ed96b79e22 (diff)
downloadpleroma-0872f5f394b2ca86c8cf0248a28f4aeeb1f03d7a.tar.gz
Add undocumented default user default settings.
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/mastodon_api/views/account_view.ex7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/pleroma/web/mastodon_api/views/account_view.ex b/lib/pleroma/web/mastodon_api/views/account_view.ex
index 68d930a68..ff02587d6 100644
--- a/lib/pleroma/web/mastodon_api/views/account_view.ex
+++ b/lib/pleroma/web/mastodon_api/views/account_view.ex
@@ -32,7 +32,12 @@ defmodule Pleroma.Web.MastodonAPI.AccountView do
avatar: image,
avatar_static: image,
header: header,
- header_static: header
+ header_static: header,
+ source: %{
+ note: "",
+ privacy: "public",
+ sensitive: "false"
+ }
}
end