Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
EventIndex: Add a missing semicolon.
Browse files Browse the repository at this point in the history
  • Loading branch information
poljar committed Apr 20, 2020
1 parent 6084c08 commit 3781bdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/indexing/EventIndex.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit 3781bdc

Please sign in to comment.