nodeinfo: add accepted post formats to metadata

This commit is contained in:
William Pitcock 2018-10-05 21:05:37 +00:00
parent 285ac80c36
commit bd76d9cee6

View file

@ -92,7 +92,8 @@ def nodeinfo(conn, %{"version" => "2.0"}) do
mrf_policies: mrf_policies,
mrf_simple: mrf_simple,
quarantined_instances: quarantined
}
},
postFormats: Keyword.get(instance, :allowed_post_formats)
}
}