Revert "oops, actually refresh roomlist when its state changes!"
This reverts commit 35a16edccc.
			
			
				pull/21833/head
			
			
		
							parent
							
								
									b063c605a8
								
							
						
					
					
						commit
						7a949b6a45
					
				| 
						 | 
					@ -44,9 +44,6 @@ module.exports = React.createClass({
 | 
				
			||||||
    shouldComponentUpdate: function(nextProps, nextState) {
 | 
					    shouldComponentUpdate: function(nextProps, nextState) {
 | 
				
			||||||
        if (nextProps.collapsed !== this.props.collapsed) return true;
 | 
					        if (nextProps.collapsed !== this.props.collapsed) return true;
 | 
				
			||||||
        if (nextProps.searchFilter !== this.props.searchFilter) return true;
 | 
					        if (nextProps.searchFilter !== this.props.searchFilter) return true;
 | 
				
			||||||
        if (nextState.lists !== this.props.lists ||
 | 
					 | 
				
			||||||
            nextState.isLoadingLeftRooms !== this.isLoadingLeftRooms ||
 | 
					 | 
				
			||||||
            nextState.incomingCall !== this.incomingCall) return true;
 | 
					 | 
				
			||||||
        return false;
 | 
					        return false;
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue