Closed hacxk closed 1 week ago
i fIxed This Issue
i fIxed This Issue
How you fixed it?
by downgrading baileys to @6.7.4 and removing getMessage and Makeing sock to
const sock = await makeWASocket({
version: [2, 3000, 1014080102],
printQRInTerminal: pairingOption === 'QR CODE',
mobile: false,
keepAliveIntervalMs: 10000,
syncFullHistory: false,
downloadHistory: false,
markOnlineOnConnect: true,
defaultQueryTimeoutMs: undefined,
logger,
Browsers: ['Hacxk-MD', 'Chrome', '113.0.5672.126'],
auth: {
creds: state.creds,
keys: makeCacheableSignalKeyStore(state.keys, logger),
},
linkPreviewImageThumbnailWidth: 1980,
generateHighQualityLinkPreview: true,
});```
i fIxed This Issue
How you fixed it?
also delete session and relogin with this sock connection still like that use a vpn and login
Title: [BUG] messages.upsert Event Not Triggering for Incoming Messages
I'm facing an issue where the crucial
messages.upsert
event is not firing consistently when new messages arrive in my WhatsApp bot. This is causing delays or even complete failures in my bot's ability to respond to user interactions.Steps to Reproduce:
messages.upsert
event handler is not called, or it is triggered with a significant delay.Expected Behavior:
When a new message is received by the bot, the
messages.upsert
event should fire immediately, providing the bot with the message data to process and respond accordingly.Environment Details: