mirror of
https://github.com/SableClient/Sable.git
synced 2026-12-01 14:22:31 -08:00
refactor(notifications): store only as much message body as the preview shows
This commit is contained in:
1 parent
73f84c13f9
commit
d724838a3d
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user