From 9a60078b405d2364bb7462cd764b14f830db9127 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 5 Sep 2024 10:42:27 +0200 Subject: [PATCH] Remove pleroma maxMediaAttachments override Co-authored-by: Lim Chee Aun --- src/utils/store-utils.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/utils/store-utils.js b/src/utils/store-utils.js index 9d434ce2..a5168d7e 100644 --- a/src/utils/store-utils.js +++ b/src/utils/store-utils.js @@ -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;