diff --git a/src/domain/session/room/timeline/tiles/index.ts b/src/domain/session/room/timeline/tiles/index.ts index 1a52370a..57e5b27f 100644 --- a/src/domain/session/room/timeline/tiles/index.ts +++ b/src/domain/session/room/timeline/tiles/index.ts @@ -75,11 +75,9 @@ export function tileClassForEntry(entry: TimelineEntry, options: Options): TileC case "m.location": return LocationTile; case "m.key.verification.request": - const isCrossSigningEnabled = !options.session.features.crossSigning; + const isCrossSigningDisabled = !options.session.features.crossSigning; const userId = options.session.userId; - if (isCrossSigningEnabled|| - // entry.isLoadedFromStorage || - entry.sender === userId) { + if (isCrossSigningDisabled || entry.sender === userId) { return undefined; } return VerificationTile as unknown as TileConstructor;