From 17099c656bdcc6997170659905068d93d7ad34a5 Mon Sep 17 00:00:00 2001 From: Germain Souquet Date: Fri, 7 May 2021 11:25:25 +0100 Subject: [PATCH] Call renamed room::decryptAllEvents method --- src/components/structures/MatrixChat.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/MatrixChat.tsx b/src/components/structures/MatrixChat.tsx index 41cacd2569..f691b7ab0b 100644 --- a/src/components/structures/MatrixChat.tsx +++ b/src/components/structures/MatrixChat.tsx @@ -906,7 +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(); + room.decryptAllEvents(); const theAlias = Rooms.getDisplayAliasForRoom(room); if (theAlias) { presentedId = theAlias;