Should supply the roomId

pull/21833/head
wmwragg 2016-09-09 15:01:40 +01:00
parent 17b75a589f
commit a6b0a7d5dc
1 changed files with 1 additions and 1 deletions

View File

@ -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"/>;
}