Baileys icon indicating copy to clipboard operation
Baileys copied to clipboard

Update make-in-memory-store.ts

Open purpshell opened this issue 9 months ago • 3 comments

purpshell avatar Apr 30 '24 11:04 purpshell

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@WhiskeySockets/Baileys#PurpShell-patch-1
# YARN v2
yarn add @whiskeysockets/baileys@WhiskeySockets/Baileys#PurpShell-patch-1

whiskeysockets-bot avatar Apr 30 '24 11:04 whiskeysockets-bot

I've just tested with this PR and got the following error:

backend\node_modules\@whiskeysockets\baileys\lib\Store\make-in-memory-store.js:143
ttrs.hash
                                                                                  
TypeError: Cannot read properties of undefined (reading '0')
at EventEmitter.<anonymous> (\backend\node_modules\@whiskeysockets\baileys\lib\Store\make-in-memory-store.js:143:86)

CSFelix avatar May 03 '24 17:05 CSFelix

I have a similar error

/node_modules/@adiwajshing/baileys/lib/Store/make-in-memory-store.js:157
                Object.assign(contacts[update.id], contact);
                       ^

TypeError: Cannot convert undefined or null to object
    at Function.assign (<anonymous>)
    at EventEmitter.<anonymous> (/home/ubuntu/backend/node_modules/@adiwajshing/baileys/lib/Store/make-in-memory-store.js:157:24)

ubarrawandrey15 avatar May 03 '24 18:05 ubarrawandrey15