fix community fetching on `js-waku`'s abort

This commit is contained in:
Felicio Mununga 2022-09-05 18:03:17 +02:00
parent 81f2950c19
commit e56c6519e0
No known key found for this signature in database
GPG Key ID: 0EB8D75C775AB6F1
1 changed files with 3 additions and 1 deletions

View File

@ -99,7 +99,9 @@ export class Community {
while (--index >= 0) { while (--index >= 0) {
this.client.handleWakuMessage(wakuMessages[index]) this.client.handleWakuMessage(wakuMessages[index])
return this.description !== undefined if (this.description) {
return true
}
} }
}, },
}) })