diff options
author | Tusooa Zhu <tusooa@kazv.moe> | 2022-08-20 21:19:31 -0400 |
---|---|---|
committer | Tusooa Zhu <tusooa@kazv.moe> | 2022-08-20 21:19:31 -0400 |
commit | c59ee1f172628d37e1396e080876f0f3aebaf730 (patch) | |
tree | 765f877935571c81af22f19a5b86f11f9f3fb845 | |
parent | 4ec9eeb3f8f3502841cd136ea7afe9298b477120 (diff) | |
download | pleroma-c59ee1f172628d37e1396e080876f0f3aebaf730.tar.gz |
Expose availability of GET /main/ostatus via instance
-rw-r--r-- | lib/pleroma/web/mastodon_api/views/instance_view.ex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/web/mastodon_api/views/instance_view.ex b/lib/pleroma/web/mastodon_api/views/instance_view.ex index 62931bd41..dc44295e5 100644 --- a/lib/pleroma/web/mastodon_api/views/instance_view.ex +++ b/lib/pleroma/web/mastodon_api/views/instance_view.ex @@ -98,7 +98,8 @@ defmodule Pleroma.Web.MastodonAPI.InstanceView do end, if Config.get([:instance, :profile_directory]) do "profile_directory" - end + end, + "pleroma:get:main/ostatus" ] |> Enum.filter(& &1) end |