refactor: upload more pre-keys + use pure function

This commit is contained in:
Adhiraj Singh
2022-04-13 00:02:10 +05:30
parent 08fa212db8
commit 02265fd7f9
4 changed files with 121 additions and 110 deletions

View File

@@ -61,4 +61,6 @@ export const MEDIA_KEYS = Object.keys(MEDIA_PATH_MAP) as MediaType[]
export const KEY_BUNDLE_TYPE = Buffer.from([5])
export const MIN_PREKEY_COUNT = 5
export const MIN_PREKEY_COUNT = 5
export const INITIAL_PREKEY_COUNT = 50