From 5d92ac2ce3eeb0e6d8f1c1f1ca2941dde74756ee Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Mon, 13 May 2024 22:36:56 +0100 Subject: dont send message if >1000 graphemes (#3995) --- src/lib/constants.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib/constants.ts') diff --git a/src/lib/constants.ts b/src/lib/constants.ts index 051ed4d59..05d1591f5 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -36,6 +36,8 @@ export const MAX_DESCRIPTION = 256 export const MAX_GRAPHEME_LENGTH = 300 +export const MAX_DM_GRAPHEME_LENGTH = 1000 + // Recommended is 100 per: https://www.w3.org/WAI/GL/WCAG20/tests/test3.html // but increasing limit per user feedback export const MAX_ALT_TEXT = 1000 -- cgit 1.4.1