feat: handle unarchiveChats setting

This commit is contained in:
Adhiraj Singh
2022-04-07 11:29:57 +05:30
parent ebf4aa6772
commit 0d94315776
5 changed files with 28 additions and 11 deletions

View File

@@ -145,7 +145,7 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
// process message and emit events
const newEvents = await processMessage(
msg,
{ historyCache, meId, keyStore: authState.keys, logger, treatCiphertextMessagesAsReal }
{ historyCache, meId, accountSettings: authState.creds.accountSettings, keyStore: authState.keys, logger, treatCiphertextMessagesAsReal }
)
// send ack for history message