Added updating of count when room tile notification state changed

pull/21833/head
wmwragg 2016-08-23 12:40:28 +01:00
parent 6d1f9003e2
commit c362d4ff01
1 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,7 @@ module.exports = React.createClass({
highlight: React.PropTypes.bool.isRequired,
isInvite: React.PropTypes.bool.isRequired,
roomSubList: React.PropTypes.object.isRequired,
refreshSubList: React.PropTypes.func.isRequired,
incomingCall: React.PropTypes.object,
},
@ -132,6 +133,7 @@ module.exports = React.createClass({
room: this.props.room,
onFinished: function() {
self.setState({ notificationTagMenu: false });
self.props.refreshSubList();
}
});
this.setState({ notificationTagMenu: true });