Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement a store #8

Closed
theSoberSobber opened this issue Apr 8, 2023 · 2 comments · Fixed by #15
Closed

implement a store #8

theSoberSobber opened this issue Apr 8, 2023 · 2 comments · Fixed by #15
Assignees
Labels
bug Something isn't working

Comments

@theSoberSobber
Copy link
Owner

implement a store to fix the waiting for message issue

quoting
/** * fetch a message from your store * implement this so that messages failed to send (solves the "this message can take a while" issue) can be retried * */ getMessage: (key: proto.IMessageKey) => Promise<proto.IMessage | undefined>

from https://adiwajshing.github.io/Baileys/
also refrence
https://github.com/adiwajshing/Baileys/issues/1555

@theSoberSobber theSoberSobber added the bug Something isn't working label Apr 8, 2023
@theSoberSobber theSoberSobber pinned this issue Apr 8, 2023
@KorigamiK
Copy link

Refer https://github.com/adiwajshing/Baileys/issues/1601

@ota0912
Copy link
Collaborator

ota0912 commented Apr 14, 2023

Corrected the interaction functions to return the default sendMessage value
Implemented a tempStore to store message keys.
Refer to this commit

@ota0912 ota0912 closed this as completed Apr 14, 2023
@ota0912 ota0912 linked a pull request Apr 14, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants