Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Revert "oops, actually refresh roomlist when its state changes!"
Browse files Browse the repository at this point in the history
This reverts commit 35a16ed.
  • Loading branch information
dbkr committed May 16, 2017
1 parent b063c60 commit 7a949b6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/components/views/rooms/RoomList.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ module.exports = React.createClass({
shouldComponentUpdate: function(nextProps, nextState) {
if (nextProps.collapsed !== this.props.collapsed) 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;
},

Expand Down

0 comments on commit 7a949b6

Please sign in to comment.