mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-18 10:51:54 +02:00
Should supply the roomId
This commit is contained in:
parent
17b75a589f
commit
a6b0a7d5dc
@ -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"/>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user