This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed
src/components/structures Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -648,16 +648,6 @@ module.exports = React.createClass({
648
648
if ( room ) {
649
649
var theAlias = Rooms . getDisplayAliasForRoom ( room ) ;
650
650
if ( theAlias ) presentedId = theAlias ;
651
-
652
- // No need to do this given RoomView triggers it itself...
653
- // var color_scheme_event = room.getAccountData("org.matrix.room.color_scheme");
654
- // var color_scheme = {};
655
- // if (color_scheme_event) {
656
- // color_scheme = color_scheme_event.getContent();
657
- // // XXX: we should validate the event
658
- // }
659
- // console.log("Tinter.tint from _viewRoom");
660
- // Tinter.tint(color_scheme.primary_color, color_scheme.secondary_color);
661
651
}
662
652
663
653
if ( room_info . event_id ) {
Original file line number Diff line number Diff line change @@ -819,7 +819,7 @@ var TimelinePanel = React.createClass({
819
819
// go via the dispatcher so that the URL is updated
820
820
dis . dispatch ( {
821
821
action : 'view_room' ,
822
- room_id : this . props . timelineSet . roomId ,
822
+ room_id : this . props . timelineSet . room . roomId ,
823
823
} ) ;
824
824
} ;
825
825
}
You can’t perform that action at this time.
0 commit comments