diff --git a/src/client.js b/src/client.js index ecfa98b7d..74b82a125 100644 --- a/src/client.js +++ b/src/client.js @@ -310,7 +310,9 @@ function MatrixClient(opts) { break; } - highlightCount += this.getPushActionsForEvent(event).tweaks.highlight ? 1 : 0; + highlightCount += this.getPushActionsForEvent( + event, + ).tweaks.highlight ? 1 : 0; } // Note: we don't need to handle 'total' notifications because the counts