Should supply the roomId
This commit is contained in:
parent
17b75a589f
commit
a6b0a7d5dc
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue