mastodon api: use info["default_scope"] if available for post scope
This commit is contained in:
parent
d386e8a825
commit
4f6de34f4f
|
@ -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 New Issue