Remove pleroma maxMediaAttachments override

Co-authored-by: Lim Chee Aun <cheeaun@gmail.com>
This commit is contained in:
Stefano Pigozzi 2024-09-05 10:42:27 +02:00
parent 8df2f55f5b
commit 9a60078b40
No known key found for this signature in database
GPG key ID: 5ADA3868646C3FC0

View file

@ -130,10 +130,6 @@ function getInstanceConfiguration(instance) {
if (maxMediaAttachments) {
statuses.maxMediaAttachments ??= maxMediaAttachments;
}
if(pleroma) {
// Set an arbitrary high attachment limit, since neither Akkoma nor Pleroma have an attachment limit.
statuses.maxMediaAttachments ??= 1000;
}
if (maxTootChars) {
statuses.maxCharacters ??= maxTootChars;