Show redacted tile

This commit is contained in:
RMidhunSuresh 2021-11-03 20:03:47 +05:30
parent b011c3df03
commit f6b7dcbad7

View file

@ -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);