1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-10 09:22:25 +03:00

Should supply the roomId

This commit is contained in:
wmwragg
2016-09-09 15:01:40 +01:00
parent 17b75a589f
commit a6b0a7d5dc

View File

@@ -271,7 +271,7 @@ 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)) { if (this._isDirectMessageRoom(this.props.room.roomId)) {
directMessageIndicator = <img src="img/icon_person.svg" className="mx_RoomTile_dm" width="11" height="13" alt="dm"/>; directMessageIndicator = <img src="img/icon_person.svg" className="mx_RoomTile_dm" width="11" height="13" alt="dm"/>;
} }