feat: remove need for "serverHasPreKeys"

This commit is contained in:
Adhiraj Singh
2022-04-12 18:47:18 +05:30
parent 2cc5cc2dd4
commit 75c637cf6c
5 changed files with 33 additions and 14 deletions

View File

@@ -60,3 +60,5 @@ export const MEDIA_PATH_MAP: { [T in MediaType]: string } = {
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