-
- Downloads
Specify default scope in verify_credentials
Certain Mastodon/Pleroma front ends call verify_credentials to get the default scope of a new toot. Currently, Pleroma hardcodes this value to "public". This patch changes it to the user's default_scope value.
Showing
- lib/pleroma/user.ex 2 additions, 1 deletionlib/pleroma/user.ex
- lib/pleroma/web/mastodon_api/views/account_view.ex 1 addition, 1 deletionlib/pleroma/web/mastodon_api/views/account_view.ex
- test/web/mastodon_api/mastodon_api_controller_test.exs 25 additions, 1 deletiontest/web/mastodon_api/mastodon_api_controller_test.exs
Loading
Please register or sign in to comment