mirror of https://github.com/vector-im/riot-web
Should supply the roomId
parent
17b75a589f
commit
a6b0a7d5dc
|
@ -271,7 +271,7 @@ module.exports = React.createClass({
|
|||
var RoomAvatar = sdk.getComponent('avatars.RoomAvatar');
|
||||
|
||||
var directMessageIndicator;
|
||||
if (this._isDirectMessageRoom(this.props.room)) {
|
||||
if (this._isDirectMessageRoom(this.props.room.roomId)) {
|
||||
directMessageIndicator = <img src="img/icon_person.svg" className="mx_RoomTile_dm" width="11" height="13" alt="dm"/>;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue