File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -417,7 +417,7 @@ var RoomSubList = React.createClass({
417417 if ( this . props . incomingCall ) {
418418 var self = this ;
419419 // Check if the incoming call is for this section
420- var incomingCallRoom = this . state . sortedList . filter ( function ( room ) {
420+ var incomingCallRoom = this . props . list . filter ( function ( room ) {
421421 return self . props . incomingCall . roomId === room . roomId ;
422422 } ) ;
423423
@@ -507,7 +507,7 @@ var RoomSubList = React.createClass({
507507 var ErrorDialog = sdk . getComponent ( "dialogs.ErrorDialog" ) ;
508508 console . error ( "Failed to add tag " + self . props . tagName + " to room" + err ) ;
509509 Modal . createDialog ( ErrorDialog , {
510- title : "Error" ,
510+ title : "Error" ,
511511 description : "Failed to add tag " + self . props . tagName + " to room" ,
512512 } ) ;
513513 } ) ;
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import sdk from 'matrix-react-sdk';
2424import MatrixClientPeg from 'matrix-react-sdk/lib/MatrixClientPeg' ;
2525import dis from 'matrix-react-sdk/lib/dispatcher' ;
2626import DMRoomMap from 'matrix-react-sdk/lib/utils/DMRoomMap' ;
27- import Rooms from 'matrix-react-sdk/lib/Rooms' ;
27+ import * as Rooms from 'matrix-react-sdk/lib/Rooms' ;
2828import * as RoomNotifs from 'matrix-react-sdk/lib/RoomNotifs' ;
2929import Modal from 'matrix-react-sdk/lib/Modal' ;
3030
You can’t perform that action at this time.
0 commit comments