Baileys
Baileys copied to clipboard
In Memory Store: contacts.upsert handle
The event "contacts.upsert" was not handled!
Properties "name" and "notify" is not being sended in "messaging-history.set" anymore (as i have noticed sometimes).
So, we need to handle "contacts.upsert" that is sent togheter or just before or in the future, to keep the store updated!
And in "messaging-history.set" check if isLatest to handle the deletition.
Thanks for your contribution.
The next step is to wait for review and approval to merge it to main repository
The community can help reacting with a thumb up (:thumbsup:) for approval and rocket (:rocket:) for who has tested it.
To test this PR you can run the following command below:
# NPM
npm install @whiskeysockets/baileys@dudagervasio/cs#master
# YARN v2
yarn add @whiskeysockets/baileys@dudagervasio/cs#master