Disable Pleroma fields on instance

This commit is contained in:
Jesse Wierzbinski 2024-04-07 02:50:02 -10:00
parent e71c2ef5c9
commit a6bec1efa7
No known key found for this signature in database

View file

@ -117,7 +117,7 @@ export default apiRoute(async (req, matchedRoute, extraData) => {
}, },
version: `4.2.0+glitch (compatible; Lysand ${version}})`, version: `4.2.0+glitch (compatible; Lysand ${version}})`,
max_toot_chars: config.validation.max_note_size, max_toot_chars: config.validation.max_note_size,
pleroma: { /* pleroma: {
metadata: { metadata: {
// account_activation_required: false, // account_activation_required: false,
features: [ features: [
@ -152,7 +152,7 @@ export default apiRoute(async (req, matchedRoute, extraData) => {
stats: { stats: {
mau: monthlyActiveUsers, mau: monthlyActiveUsers,
}, },
}, }, */
contact_account: contactAccount ? userToAPI(contactAccount) : null, contact_account: contactAccount ? userToAPI(contactAccount) : null,
} as APIInstance); } as APIInstance);
}); });