Describe the bug
I want to export all the contacts from my contacts list, and I am using the "contacts.upsert" event for this purpose.
However, I have encountered an issue where the event behaves inconsistently. At times, it correctly transmits all contact data without any problems, while on other occasions, it only sends partial data, leaving some contacts missing.
Upon checking the logs, I noticed that when contacts are missing, the following log message appears:
{"level":20,"time":"2023-07-21T16:17:20.050Z","pid":113345,"hostname":"fedora","contactId":"9053**sensored@s.whatsapp.net","msg":"absorbed contact upsert in contact set"}
Describe the bug I want to export all the contacts from my contacts list, and I am using the "contacts.upsert" event for this purpose.
However, I have encountered an issue where the event behaves inconsistently. At times, it correctly transmits all contact data without any problems, while on other occasions, it only sends partial data, leaving some contacts missing.
Upon checking the logs, I noticed that when contacts are missing, the following log message appears:
{"level":20,"time":"2023-07-21T16:17:20.050Z","pid":113345,"hostname":"fedora","contactId":"9053**sensored@s.whatsapp.net","msg":"absorbed contact upsert in contact set"}
Thank you!
To Reproduce Steps to reproduce the behavior:
Environment:
connectOptions
look like?const socketConfig = { logger: loggerBaileys, printQRInTerminal: false, defaultQueryTimeoutMs: undefined, generateHighQualityLinkPreview: true, auth: { creds: state.creds, keys: makeCacheableSignalKeyStore(state.keys, logger) }, version, shouldIgnoreJid: jid => isJidBroadcast(jid) };