From d069f4a89a4057d5107d1b2452068426d51eefc6 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 11 Feb 2019 15:41:32 +0100 Subject: [PATCH] not the cause of the bug, but this seems wrong --- src/Unread.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Unread.js b/src/Unread.js index 55e60f2a9a..9514ec821b 100644 --- a/src/Unread.js +++ b/src/Unread.js @@ -32,7 +32,7 @@ module.exports = { return false; } else if (ev.getType() == 'm.call.answer' || ev.getType() == 'm.call.hangup') { return false; - } else if (ev.getType == 'm.room.message' && ev.getContent().msgtype == 'm.notify') { + } else if (ev.getType() == 'm.room.message' && ev.getContent().msgtype == 'm.notify') { return false; } const EventTile = sdk.getComponent('rooms.EventTile');