diff --git a/src/components/views/rooms/RoomTile.js b/src/components/views/rooms/RoomTile.js index 3245cdb779..e1624602f1 100644 --- a/src/components/views/rooms/RoomTile.js +++ b/src/components/views/rooms/RoomTile.js @@ -490,8 +490,8 @@ export default createReactClass({ height="13" alt="dm" />; - } + const { room } = this.props; const member = room.getMember(dmUserId); if (