Baileys icon indicating copy to clipboard operation
Baileys copied to clipboard

In Memory Store: contacts.upsert handle

Open dudagervasio opened this issue 1 year ago • 1 comments

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.

dudagervasio avatar Jun 15 '23 02:06 dudagervasio

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

whiskeysockets-bot avatar Jun 15 '23 02:06 whiskeysockets-bot