From d01c58bd4139372d7ef727cc0fee5e9a8b163839 Mon Sep 17 00:00:00 2001 From: Zoe Date: Mon, 24 Feb 2020 16:54:10 +0000 Subject: [PATCH] added comment --- src/components/views/rooms/EventTile.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/views/rooms/EventTile.js b/src/components/views/rooms/EventTile.js index 3711b5599a..916ddc3c5b 100644 --- a/src/components/views/rooms/EventTile.js +++ b/src/components/views/rooms/EventTile.js @@ -102,6 +102,8 @@ export function getHandlerTile(ev) { // sometimes MKeyVerificationConclusion declines to render. Jankily decline to render and // fall back to showing hidden events, if we're viewing hidden events + // XXX: This is extremely a hack. Possibly these components should have an interface for + // declining to render? if (type === "m.key.verification.cancel" && SettingsStore.getValue("showHiddenEventsInTimeline")) { const MKeyVerificationConclusion = sdk.getComponent("messages.MKeyVerificationConclusion"); if (!MKeyVerificationConclusion.prototype._shouldRender.call(null, ev, ev.request)) {