From: William Pitcock Date: Fri, 5 Oct 2018 21:05:37 +0000 (+0000) Subject: nodeinfo: add accepted post formats to metadata X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=bd76d9cee6f166c20af9194d4d83f5276041ef75;p=akkoma nodeinfo: add accepted post formats to metadata --- diff --git a/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex b/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex index 860468506..a14000c61 100644 --- a/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex +++ b/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex @@ -92,7 +92,8 @@ defmodule Pleroma.Web.Nodeinfo.NodeinfoController do mrf_policies: mrf_policies, mrf_simple: mrf_simple, quarantined_instances: quarantined - } + }, + postFormats: Keyword.get(instance, :allowed_post_formats) } }