mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 16:38:19 +01:00
Disable Pleroma fields on instance
This commit is contained in:
parent
e71c2ef5c9
commit
a6bec1efa7
|
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue