Track updated contacts

This commit is contained in:
Adhiraj Singh
2020-12-12 14:06:46 +05:30
parent eb7b8506a9
commit b72e2dfcf9
4 changed files with 53 additions and 8 deletions

View File

@@ -203,7 +203,7 @@ WAConnectionTest('Misc', conn => {
if (!chat) {
// wait for chats
await new Promise(resolve => (
conn.once('chats-received', () => resolve())
conn.once('chats-received', resolve)
))
chat = conn.chats.get(testJid)
}