From 3781bdc9758ddb54f9eacc6f56784b0d64d8ca01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Mon, 20 Apr 2020 10:10:16 +0200 Subject: [PATCH] EventIndex: Add a missing semicolon. --- src/indexing/EventIndex.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/indexing/EventIndex.js b/src/indexing/EventIndex.js index c09fc73a58..a6bbbb5f96 100644 --- a/src/indexing/EventIndex.js +++ b/src/indexing/EventIndex.js @@ -284,7 +284,7 @@ export default class EventIndex extends EventEmitter { if (!msgtype) validMsgType = false; else validMsgType = !msgtype.startsWith("m.key.verification"); - if (!ev.getContent().body) hasContentValue = false + if (!ev.getContent().body) hasContentValue = false; } else if (ev.getType() === "m.room.topic" && !ev.isRedacted()) { if (!ev.getContent().topic) hasContentValue = false; } else if (ev.getType() === "m.room.name" && !ev.isRedacted()) {