whatsapp-web.js 1.26.1-alpha.0 → 1.26.1-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whatsapp-web.js",
3
- "version": "1.26.1-alpha.0",
3
+ "version": "1.26.1-alpha.1",
4
4
  "description": "Library for interacting with the WhatsApp Web API ",
5
5
  "main": "./index.js",
6
6
  "typings": "./index.d.ts",
@@ -16,7 +16,7 @@ class InterfaceController {
16
16
  async openChatWindow(chatId) {
17
17
  await this.pupPage.evaluate(async chatId => {
18
18
  const chatWid = window.Store.WidFactory.createWid(chatId);
19
- const chat = window.Store.Chat.get(chat) || await window.Store.Chat.find(chatWid);
19
+ const chat = window.Store.Chat.get(chatWid) || await window.Store.Chat.find(chatWid);
20
20
  await window.Store.Cmd.openChatBottom(chat);
21
21
  }, chatId);
22
22
  }