forked from AkkomaGang/akkoma
mastodon api: use info["default_scope"] if available for post scope
This commit is contained in:
parent
d386e8a825
commit
4f6de34f4f
1 changed files with 1 additions and 1 deletions
|
@ -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: %{
|
||||||
|
|
Loading…
Reference in a new issue