Fix linting error.

pull/43/head
Mikunj 7 years ago
parent 4148628e70
commit 3943cbbc6e

@ -203,9 +203,7 @@
// Go through our messages and find the one that we need to update
const messages = this.messageCollection.models.filter(m => m.get('sent_at') === timestamp);
for (const message of messages) {
await message.setCalculatingPoW();
}
await Promise.all(messages.map(m => m.setCalculatingPoW()))
},
addSingleMessage(message, setToExpire = true) {

Loading…
Cancel
Save