Lazily decrypt events on room view
This commit is contained in:
@@ -906,6 +906,7 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user