duplicate key bug fix
This commit is contained in:
@@ -182,8 +182,9 @@ export class WAConnection extends Base {
|
|||||||
spam: 'false',
|
spam: 'false',
|
||||||
name
|
name
|
||||||
}
|
}
|
||||||
await this.setProfilePicture (chat)
|
|
||||||
this.chats.insert (chat)
|
this.chats.insert (chat)
|
||||||
|
|
||||||
|
await this.setProfilePicture (chat)
|
||||||
this.emit ('chat-new', chat)
|
this.emit ('chat-new', chat)
|
||||||
return chat
|
return chat
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user