Merge pull request #2045 from saghul/fix-fullscreen

[RN] Fix setting full-screen when joining a conference
This commit is contained in:
Saúl Ibarra Corretgé 2017-10-09 13:14:17 -05:00 committed by GitHub
commit e25c38d716
1 changed files with 2 additions and 2 deletions

View File

@ -43,10 +43,10 @@ MiddlewareRegistry.register(({ getState }) => next => action => {
break;
}
const { audioOnly, conference }
const { audioOnly, conference, joining }
= getState()['features/base/conference'];
fullScreen = conference || action.conference ? !audioOnly : false;
fullScreen = conference || joining ? !audioOnly : false;
break;
}