refactor(notifications): store only as much message body as the preview shows

This commit is contained in:
Erwan Leboucher authored and 7w1 committed 2026-08-08 23:20:31 -05:00
1 parent 73f84c13f9
commit d724838a3d
1 file changed
+1 -1
+1 -1
View File
@@ -12,7 +12,7 @@ export type StoredNotification = {
dismissed?: boolean;
};
export const MAX_BODY_LENGTH = 500;
export const MAX_BODY_LENGTH = 120;
// HTML cannot be sliced without breaking tags, so oversized messages lose it.
// Ciphertext is dropped: multi-KB, shares the session's localStorage budget, and