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
1 changed files with 2 additions and 1 deletions

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)
}
}