update RoomTile notificationCount through props so updates are consistent

This commit is contained in:
Bruno Windels 2019-02-11 15:40:17 +01:00
parent 6f9aa9c9b9
commit b6aa72da55
2 changed files with 2 additions and 10 deletions

View file

@ -145,6 +145,7 @@ const RoomSubList = React.createClass({
collapsed={this.props.collapsed || false}
unread={Unread.doesRoomHaveUnreadMessages(room)}
highlight={room.getUnreadNotificationCount('highlight') > 0 || this.props.isInvite}
notificationCount={room.getUnreadNotificationCount()}
isInvite={this.props.isInvite}
refreshSubList={this._updateSubListCount}
incomingCall={null}