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

View file

@ -873,7 +873,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
},
compose: %{
me: "#{user.id}",
default_privacy: "public",
default_privacy: user.info["default_scope"] || "public",
default_sensitive: false
},
media_attachments: %{