forked from mystiq/hydrogen-web
Show redacted tile
This commit is contained in:
parent
b011c3df03
commit
f6b7dcbad7
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue