Closed ono77 closed 1 month ago
So you need to change findChat
to findOrCreateLatestChat
Fix, change
conditions: (module) => (module && module.findChat) ? module : null
to
conditions: (module) => (module && module.findOrCreateLatestChat) ? module : null
And then use chat = Store.FindChat.findOrCreateLatestChat(idUser)
Same here, this fix dont work!
Fix js.abr v.3.0.2.0
WAPI.sendMessageToID('number@c.us','test')
gives this error:
VM60:1804 Uncaught TypeError: Cannot read properties of undefined (reading 'findChat') at window.WAPI.sendMessageToID (:1804:34)
at :1:6