It can send only to store chats, how can i send a message if i do not have the chat open, in js file there are this line
var Chats = Store.Chat.models;
It take only chats that are open
I'm not aware of how the store is populated. If it's populated by opening the chat, then I'll have to make a check and then manually trigger loading the chats. I'll test this.
there store are populated from the active chats in the left side, i discover that if you enter to the contact you are able to send the message, the solution is add to the js code the posibility to enter automatically to the contact ,i was trying to do this but i can麓t
Was this fixed?
No, I'll try to fix this today.
Was this fixed?
I hope to resolve this issue soon
Was this fixed?
same thing here. I'm trying to solve it as well. If anyone got success with this issue, please, share with us.
I was "debugging" whatsapp web objects in console and I realized that all contacts are located in Store.Contact.models variable. Now, I'm trying to add some contact to Store.Chat.models which holds sendMessage method. Is there any method to add contact to chat models?
Hi guys, I think this problem is solved in my pull request (with help a friend @jefferson-william). Check it out :)
Most helpful comment
No, I'll try to fix this today.