mastodon_api_controller.ex: Remove vanilla from supported_flavours
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Fri, 31 May 2019 23:37:11 +0000 (01:37 +0200)
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Fri, 31 May 2019 23:44:10 +0000 (01:44 +0200)
lib/pleroma/web/mastodon_api/mastodon_api_controller.ex

index 2110027c3da313d238f06894c21fa38a54071f78..526581363eaae8bab4aa6f9accc166320b9fd6ff 100644 (file)
@@ -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