mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Adds all message actions to context menu
This commit is contained in:
@@ -27,6 +27,10 @@ const INITIAL_LENGTH = 800;
|
||||
const INCREMENT_COUNT = 3000;
|
||||
const BUFFER = 100;
|
||||
|
||||
export function doesMessageBodyOverflow(str: string): boolean {
|
||||
return str.length > INITIAL_LENGTH + BUFFER;
|
||||
}
|
||||
|
||||
function graphemeAwareSlice(
|
||||
str: string,
|
||||
length: number
|
||||
|
||||
Reference in New Issue
Block a user