Lazily decrypt events on room view
This commit is contained in:
parent
68210b1415
commit
0c87a67caf
1 changed files with 1 additions and 0 deletions
|
@ -906,6 +906,7 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
|
||||||
let presentedId = roomInfo.room_alias || roomInfo.room_id;
|
let presentedId = roomInfo.room_alias || roomInfo.room_id;
|
||||||
const room = MatrixClientPeg.get().getRoom(roomInfo.room_id);
|
const room = MatrixClientPeg.get().getRoom(roomInfo.room_id);
|
||||||
if (room) {
|
if (room) {
|
||||||
|
room.lazyDecryptEvents();
|
||||||
const theAlias = Rooms.getDisplayAliasForRoom(room);
|
const theAlias = Rooms.getDisplayAliasForRoom(room);
|
||||||
if (theAlias) {
|
if (theAlias) {
|
||||||
presentedId = theAlias;
|
presentedId = theAlias;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue