mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
Rename variable
This commit is contained in:
parent
7b7ace8951
commit
ec2a9df4c8
@ -75,11 +75,9 @@ export function tileClassForEntry(entry: TimelineEntry, options: Options): TileC
|
|||||||
case "m.location":
|
case "m.location":
|
||||||
return LocationTile;
|
return LocationTile;
|
||||||
case "m.key.verification.request":
|
case "m.key.verification.request":
|
||||||
const isCrossSigningEnabled = !options.session.features.crossSigning;
|
const isCrossSigningDisabled = !options.session.features.crossSigning;
|
||||||
const userId = options.session.userId;
|
const userId = options.session.userId;
|
||||||
if (isCrossSigningEnabled||
|
if (isCrossSigningDisabled || entry.sender === userId) {
|
||||||
// entry.isLoadedFromStorage ||
|
|
||||||
entry.sender === userId) {
|
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
return VerificationTile as unknown as TileConstructor;
|
return VerificationTile as unknown as TileConstructor;
|
||||||
|
Loading…
Reference in New Issue
Block a user