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

getAllMessages and loadEarlierMessages : delays #2828

Open
eaglenest-zz opened this issue Dec 13, 2024 · 0 comments
Open

getAllMessages and loadEarlierMessages : delays #2828

eaglenest-zz opened this issue Dec 13, 2024 · 0 comments
Labels
needs triage Needs avaliation question Further information is requested

Comments

@eaglenest-zz
Copy link

eaglenest-zz commented Dec 13, 2024

Im trying to get some messages from a chat.

When i invoke client.getAllMessagesInChat(chatId, true, false); it only returns 1 message per chat.
When i invoke client.loadEarlierMessages(chatId); and after that client.getAllMessagesInChat(chatId, true, false); it returns me 50 messages.

My problem is the delay, doing the second invokes, takes around 10-15s to return. If i do a third invoke, only on getallmessagesinchat continues to take me around 10-15s to return again.

When i open regular whatsapp chat and click on one chat, they have already some past messages, shouldnt those be returned on the first invoke right away without delay?

Best regards,

@eaglenest-zz eaglenest-zz added needs triage Needs avaliation question Further information is requested labels Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Needs avaliation question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant