feat: implement "treatCiphertextMessagesAsReal" flag

This commit is contained in:
Adhiraj Singh
2022-03-21 14:15:22 +05:30
parent b5470e1b00
commit 93c8db319e
5 changed files with 22 additions and 5 deletions

View File

@@ -35,6 +35,8 @@ export type CommonSocketConfig<T> = {
emitOwnEvents: boolean
/** provide a cache to store media, so does not have to be re-uploaded */
mediaCache?: NodeCache
/** custom upload hosts to upload media to */
customUploadHosts: MediaConnInfo['hosts']
/** fires a conversationTimestamp & read count update on CIPHERTEXT messages */
treatCiphertextMessagesAsReal: boolean
}