@juzi/whatsapp-web.js
Advanced tools
Comparing version 1.16.6 to 1.16.8
{ | ||
"name": "@juzi/whatsapp-web.js", | ||
"version": "1.16.6", | ||
"version": "1.16.8", | ||
"description": "Library for interacting with the WhatsApp Web API ", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -186,3 +186,3 @@ 'use strict'; | ||
while (msgs.length < searchOptions.limit) { | ||
const loadedMessages = await chat.loadEarlierMsgs(); | ||
const loadedMessages = await chat.preload(); | ||
if (!loadedMessages) break; | ||
@@ -189,0 +189,0 @@ msgs = [...loadedMessages.filter(msgFilter), ...msgs]; |
@@ -70,2 +70,18 @@ 'use strict'; | ||
} | ||
if (!window.Store.Chat.models) { | ||
window.Store.Chat.models = window.Store.Chat._models; | ||
} | ||
if (!window.Store.Contact.models) { | ||
window.Store.Contact.models = window.Store.Contact._models; | ||
} | ||
if (!window.Store.Blocklist.models) { | ||
window.Store.Blocklist.models = window.Store.Blocklist._models; | ||
} | ||
if (!window.Store.Label.models) { | ||
window.Store.Label.models = window.Store.Label._models; | ||
} | ||
}; | ||
@@ -72,0 +88,0 @@ |
222318
5263