disable LGM badges for DMs temporarily - see https://github.com/vector-im/vector-web/issues/2343
This commit is contained in:
parent
18cbd452b0
commit
40ba1ff5aa
1 changed files with 5 additions and 3 deletions
|
@ -277,9 +277,11 @@ module.exports = React.createClass({
|
||||||
var RoomAvatar = sdk.getComponent('avatars.RoomAvatar');
|
var RoomAvatar = sdk.getComponent('avatars.RoomAvatar');
|
||||||
|
|
||||||
var directMessageIndicator;
|
var directMessageIndicator;
|
||||||
if (this._isDirectMessageRoom(this.props.room.roomId)) {
|
// Temporarily turning off the LGM badges as isDirectMessageRoom is horribly unperformant
|
||||||
directMessageIndicator = <img src="img/icon_person.svg" className="mx_RoomTile_dm" width="11" height="13" alt="dm"/>;
|
// - see https://github.com/vector-im/vector-web/issues/2343
|
||||||
}
|
// if (this._isDirectMessageRoom(this.props.room.roomId)) {
|
||||||
|
// directMessageIndicator = <img src="img/icon_person.svg" className="mx_RoomTile_dm" width="11" height="13" alt="dm"/>;
|
||||||
|
// }
|
||||||
|
|
||||||
// These props are injected by React DnD,
|
// These props are injected by React DnD,
|
||||||
// as defined by your `collect` function above:
|
// as defined by your `collect` function above:
|
||||||
|
|
Loading…
Reference in a new issue