mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-12 17:24:50 +03:00
EventIndex: Add a missing semicolon.
(cherry picked from commit 3781bdc975
)
This commit is contained in:
parent
161203d445
commit
212c3ca46c
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ export default class EventIndex extends EventEmitter {
|
||||||
if (!msgtype) validMsgType = false;
|
if (!msgtype) validMsgType = false;
|
||||||
else validMsgType = !msgtype.startsWith("m.key.verification");
|
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()) {
|
} else if (ev.getType() === "m.room.topic" && !ev.isRedacted()) {
|
||||||
if (!ev.getContent().topic) hasContentValue = false;
|
if (!ev.getContent().topic) hasContentValue = false;
|
||||||
} else if (ev.getType() === "m.room.name" && !ev.isRedacted()) {
|
} else if (ev.getType() === "m.room.name" && !ev.isRedacted()) {
|
||||||
|
|
Loading…
Reference in a new issue