aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2019-06-01 01:37:11 +0200
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2019-06-01 01:44:10 +0200
commitaa9f52edd2ff8fa9dc6008c94717a1399f54dfb8 (patch)
treea05d7ea3bb91e89ad1f0b6f8b58e28242cb5b099 /lib
parentf1890d2cacfa09dd22b06a8d041c04dbeba9e138 (diff)
downloadpleroma-aa9f52edd2ff8fa9dc6008c94717a1399f54dfb8.tar.gz
mastodon_api_controller.ex: Remove vanilla from supported_flavours
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/mastodon_api/mastodon_api_controller.ex3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex
index 2110027c3..526581363 100644
--- a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex
+++ b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex
@@ -1456,7 +1456,8 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
end
end
- @supported_flavours ["glitch", "vanilla"]
+ # Note: vanilla is fully unsupported
+ @supported_flavours ["glitch"]
def set_flavour(%{assigns: %{user: user}} = conn, %{"flavour" => flavour} = _params)
when flavour in @supported_flavours do