From 0c87a67caf645fb86e55dd7dca4649411b56ff5b Mon Sep 17 00:00:00 2001 From: Germain Souquet Date: Thu, 6 May 2021 11:46:25 +0100 Subject: [PATCH] Lazily decrypt events on room view --- src/components/structures/MatrixChat.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/structures/MatrixChat.tsx b/src/components/structures/MatrixChat.tsx index 078b296295..41cacd2569 100644 --- a/src/components/structures/MatrixChat.tsx +++ b/src/components/structures/MatrixChat.tsx @@ -906,6 +906,7 @@ export default class MatrixChat extends React.PureComponent { let presentedId = roomInfo.room_alias || roomInfo.room_id; const room = MatrixClientPeg.get().getRoom(roomInfo.room_id); if (room) { + room.lazyDecryptEvents(); const theAlias = Rooms.getDisplayAliasForRoom(room); if (theAlias) { presentedId = theAlias;