зеркало из https://github.com/nextcloud/spreed.git
Update initial-state handling to new service
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Родитель
5d5d87f0e0
Коммит
483c3a0c8e
|
@ -73,13 +73,13 @@ trait TInitialState {
|
||||||
$this->talkConfig->getDialInInfo()
|
$this->talkConfig->getDialInInfo()
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->initialStateService->provideInitialState(
|
$this->initialState->provideInitialState(
|
||||||
'talk', 'grid_videos_limit',
|
'grid_videos_limit',
|
||||||
$this->talkConfig->getGridVideosLimit()
|
$this->talkConfig->getGridVideosLimit()
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->initialStateService->provideInitialState(
|
$this->initialState->provideInitialState(
|
||||||
'talk', 'grid_videos_limit_enforced',
|
'grid_videos_limit_enforced',
|
||||||
$this->talkConfig->getGridVideosLimitEnforced()
|
$this->talkConfig->getGridVideosLimitEnforced()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -267,11 +267,11 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
gridVideosCap() {
|
gridVideosCap() {
|
||||||
return parseInt(loadState('talk', 'grid_videos_limit'))
|
return parseInt(loadState('spreed', 'grid_videos_limit'), 10)
|
||||||
},
|
},
|
||||||
|
|
||||||
gridVideosCapEnforced() {
|
gridVideosCapEnforced() {
|
||||||
return loadState('talk', 'grid_videos_limit_enforced')
|
return loadState('spreed', 'grid_videos_limit_enforced')
|
||||||
},
|
},
|
||||||
|
|
||||||
selectedVideoPeerId() {
|
selectedVideoPeerId() {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче