[RN] Fix setting full-screen when joining a conference

HIDE_DIALOG happens between WILL_JOIN and JOINED so get the joining conference
from the state instead of the action.
This commit is contained in:
Saúl Ibarra Corretgé 2017-10-09 11:13:01 -05:00
parent 8b0cd310e3
commit d57b0547f3
1 changed files with 2 additions and 2 deletions

View File

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