Remove pleroma maxMediaAttachments override
Co-authored-by: Lim Chee Aun <cheeaun@gmail.com>
This commit is contained in:
parent
8df2f55f5b
commit
9a60078b40
1 changed files with 0 additions and 4 deletions
|
@ -130,10 +130,6 @@ function getInstanceConfiguration(instance) {
|
||||||
if (maxMediaAttachments) {
|
if (maxMediaAttachments) {
|
||||||
statuses.maxMediaAttachments ??= 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) {
|
if (maxTootChars) {
|
||||||
statuses.maxCharacters ??= maxTootChars;
|
statuses.maxCharacters ??= maxTootChars;
|
||||||
|
|
Loading…
Add table
Reference in a new issue