mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
Blocklist bug fix
This commit is contained in:
@@ -351,6 +351,7 @@ export class WAConnection extends Base {
|
|||||||
|
|
||||||
// blocklist updates
|
// blocklist updates
|
||||||
this.on('CB:Blocklist', json => {
|
this.on('CB:Blocklist', json => {
|
||||||
|
if (!json) return
|
||||||
json = json[1]
|
json = json[1]
|
||||||
const initial = this.blocklist
|
const initial = this.blocklist
|
||||||
this.blocklist = json.blocklist
|
this.blocklist = json.blocklist
|
||||||
|
|||||||
Reference in New Issue
Block a user