This commit is contained in:
David Baker 2019-06-19 12:13:17 +01:00
parent edd43a2706
commit 6eddce8c32

View file

@ -1750,7 +1750,7 @@ export default React.createClass({
},
updateStatusIndicator: function(state, prevState) {
let notifCount = countRoomsWithNotif(MatrixClientPeg.get().getRooms()).count;
const notifCount = countRoomsWithNotif(MatrixClientPeg.get().getRooms()).count;
if (PlatformPeg.get()) {
PlatformPeg.get().setErrorStatus(state === 'ERROR');