From 5aa3cf8b81ceda613b352280f08f95e2356d36f9 Mon Sep 17 00:00:00 2001 From: Andrew Ferrazzutti Date: Mon, 5 Apr 2021 03:55:35 -0400 Subject: [PATCH] Add missing paren --- puppet/src/puppet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/puppet/src/puppet.js b/puppet/src/puppet.js index 3798c2e..4bdf55e 100644 --- a/puppet/src/puppet.js +++ b/puppet/src/puppet.js @@ -585,7 +585,7 @@ export default class MessagesPuppeteer { const messages = await this.page.evaluate( id => window.__mautrixController.parseMessageList(id), id) return messages. - filter(msg => msg.id > minID && !this.sentMessageIDs.has(msg.id). + filter(msg => msg.id > minID && !this.sentMessageIDs.has(msg.id)). sort((a,b) => a.id - b.id) // TODO Confirm whether this sort is really needed }