feat(events): decrypt event responses (#2056)

This commit is contained in:
vini
2025-11-19 10:17:21 -03:00
committed by GitHub
parent b4863b624e
commit 40f128d88a
4 changed files with 154 additions and 5 deletions
+4 -2
View File
@@ -63,7 +63,8 @@ export const makeChatsSocket = (config: SocketConfig) => {
fireInitQueries,
appStateMacVerification,
shouldIgnoreJid,
shouldSyncHistoryMessage
shouldSyncHistoryMessage,
getMessage
} = config
const sock = makeSocket(config)
const { ev, ws, authState, generateMessageTag, sendNode, query, signalRepository, onUnexpectedError } = sock
@@ -1086,7 +1087,8 @@ export const makeChatsSocket = (config: SocketConfig) => {
creds: authState.creds,
keyStore: authState.keys,
logger,
options: config.options
options: config.options,
getMessage
})
])