Limit MAIL and MESSAGE to 1MB.

This commit is contained in:
CalDescent 2023-04-29 19:04:17 +01:00
parent 95a1c6bf8b
commit 34c3adf280

View File

@ -160,8 +160,8 @@ public enum Service {
SNAPSHOT(1710, false, null, false, null), SNAPSHOT(1710, false, null, false, null),
COMMENT(1800, true, 500*1024L, true, null), COMMENT(1800, true, 500*1024L, true, null),
CHAIN_COMMENT(1810, true, 239L, true, null), CHAIN_COMMENT(1810, true, 239L, true, null),
MAIL(1900, true, null, true, null), MAIL(1900, true, 1024*1024L, true, null),
MESSAGE(1910, true, null, true, null); MESSAGE(1910, true, 1024*1024L, true, null);
public final int value; public final int value;
private final boolean requiresValidation; private final boolean requiresValidation;