-
Notifications
You must be signed in to change notification settings - Fork 16
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
loadChats give null #15
Comments
Same here. Tried loadChats() and got null. sendMessage() works perfect! |
same problem here, any workaround/fix available? |
Hey, As far as I know, the fact that WhatsApp replies with a duplicate message means that an identical message has previously been sent. Therefore it is cached in the WAMessageParser class and returned when client.loadChats() is called. This does not work for all of you? |
nope, at connection whatsapp send many message at client but not in chat format, and storedWAChats remains null. on iphone also load contacts is working only after a connection that require a qrcode. if i do reconnect, no contacts are given. I suggest you to debug by modify your class backendConnector.waitForTextMessage just for test and see whitch messages came from whatsapp: (but sometimes may occur concurrent modification exeption)
|
here is an example of my response: |
trying to get chat count and unread messages, I query loadChats()
['query', {type: 'chat', epoch: '4'}, null]
response is
["response", {"duplicate":"true","type":"chat","status":"17931"}, null]
other requests works fine.
any help, please?
The text was updated successfully, but these errors were encountered: