diff --git a/src/indexing/EventIndex.js b/src/indexing/EventIndex.js index c09fc73a581..a6bbbb5f961 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()) {