From f6b7dcbad740fd6477140f245c6d2bfaafa16c36 Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Wed, 3 Nov 2021 20:03:47 +0530 Subject: [PATCH] Show redacted tile --- src/domain/session/room/timeline/tilesCreator.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/domain/session/room/timeline/tilesCreator.js b/src/domain/session/room/timeline/tilesCreator.js index 4926ff6a..9dde00a2 100644 --- a/src/domain/session/room/timeline/tilesCreator.js +++ b/src/domain/session/room/timeline/tilesCreator.js @@ -65,6 +65,9 @@ export function tilesCreator(baseOptions) { case "m.room.member": return new RoomMemberTile(options); case "m.room.encrypted": + if (entry.isRedacted) { + return new RedactedTile(options); + } return new EncryptedEventTile(options); case "m.room.encryption": return new EncryptionEnabledTile(options);