Fix lastN

master
Håvar Aambø Fosstveit 2020-03-19 23:27:37 +01:00
parent ac24d4fc10
commit 959289594b
1 changed files with 2 additions and 2 deletions

View File

@ -196,8 +196,8 @@ export default class RoomClient
else
this._maxSpotlights = mobileLastN;
if (store.getState().settings.lastN !== this._maxSpotlights)
this._maxSpotlights = store.getState().settings.lastN;
store.dispatch(
settingsActions.setLastN(this._maxSpotlights));
// Manager of spotlight
this._spotlights = null;