Fix lastN

This commit is contained in:
Håvar Aambø Fosstveit
2020-03-19 23:27:37 +01:00
parent ac24d4fc10
commit 959289594b
+2 -2
View File
@@ -196,8 +196,8 @@ export default class RoomClient
else else
this._maxSpotlights = mobileLastN; this._maxSpotlights = mobileLastN;
if (store.getState().settings.lastN !== this._maxSpotlights) store.dispatch(
this._maxSpotlights = store.getState().settings.lastN; settingsActions.setLastN(this._maxSpotlights));
// Manager of spotlight // Manager of spotlight
this._spotlights = null; this._spotlights = null;