1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

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}