mastodon api: use info["default_scope"] if available for post scope

This commit is contained in:
William Pitcock 2018-06-23 06:53:29 +00:00
parent d386e8a825
commit 4f6de34f4f
1 changed files with 1 additions and 1 deletions

View File

@ -873,7 +873,7 @@ def index(%{assigns: %{user: user}} = conn, _params) do
}, },
compose: %{ compose: %{
me: "#{user.id}", me: "#{user.id}",
default_privacy: "public", default_privacy: user.info["default_scope"] || "public",
default_sensitive: false default_sensitive: false
}, },
media_attachments: %{ media_attachments: %{