Blocklist bug fix

This commit is contained in:
Adhiraj Singh
2020-12-18 18:51:21 +05:30
parent 5409ae8580
commit a55dac4e60

View File

@@ -351,6 +351,7 @@ export class WAConnection extends Base {
// blocklist updates
this.on('CB:Blocklist', json => {
if (!json) return
json = json[1]
const initial = this.blocklist
this.blocklist = json.blocklist