mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Add byte length checks to poll question and options during create
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
import { unicodeSlice } from './unicodeSlice.std.js';
|
||||
|
||||
const KIBIBYTE = 1024;
|
||||
const MAX_MESSAGE_BODY_BYTE_LENGTH = 2 * KIBIBYTE;
|
||||
export const MAX_MESSAGE_BODY_BYTE_LENGTH = 2 * KIBIBYTE;
|
||||
|
||||
export const MAX_BODY_ATTACHMENT_BYTE_LENGTH = 64 * KIBIBYTE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user