Webwhatsapp-wrapper: only can send to store chats

Created on 31 Aug 2017  路  10Comments  路  Source: mukulhase/WebWhatsapp-Wrapper

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

Most helpful comment

No, I'll try to fix this today.

All 10 comments

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 :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dafner picture dafner  路  6Comments

wallysonn picture wallysonn  路  3Comments

kashif-raza picture kashif-raza  路  5Comments

EdisonHundLucas picture EdisonHundLucas  路  6Comments

Zingers-ZA picture Zingers-ZA  路  6Comments