зеркало из 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->initialStateService->provideInitialState(
|
||||
'talk', 'grid_videos_limit',
|
||||
$this->initialState->provideInitialState(
|
||||
'grid_videos_limit',
|
||||
$this->talkConfig->getGridVideosLimit()
|
||||
);
|
||||
|
||||
$this->initialStateService->provideInitialState(
|
||||
'talk', 'grid_videos_limit_enforced',
|
||||
$this->initialState->provideInitialState(
|
||||
'grid_videos_limit_enforced',
|
||||
$this->talkConfig->getGridVideosLimitEnforced()
|
||||
);
|
||||
}
|
||||
|
|
|
@ -267,11 +267,11 @@ export default {
|
|||
},
|
||||
|
||||
gridVideosCap() {
|
||||
return parseInt(loadState('talk', 'grid_videos_limit'))
|
||||
return parseInt(loadState('spreed', 'grid_videos_limit'), 10)
|
||||
},
|
||||
|
||||
gridVideosCapEnforced() {
|
||||
return loadState('talk', 'grid_videos_limit_enforced')
|
||||
return loadState('spreed', 'grid_videos_limit_enforced')
|
||||
},
|
||||
|
||||
selectedVideoPeerId() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче