diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-05-13 22:36:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-13 22:36:56 +0100 |
commit | 5d92ac2ce3eeb0e6d8f1c1f1ca2941dde74756ee (patch) | |
tree | 2833dcd44b365f6660a819cf53461bdcfdcecd1e /src/lib/constants.ts | |
parent | 27bb73c701d812b6ce85d230cd1433d8f6d51528 (diff) | |
download | voidsky-5d92ac2ce3eeb0e6d8f1c1f1ca2941dde74756ee.tar.zst |
dont send message if >1000 graphemes (#3995)
Diffstat (limited to 'src/lib/constants.ts')
-rw-r--r-- | src/lib/constants.ts | 2 |
1 files changed, 2 insertions, 0 deletions
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 |