From d57b0547f39ff49e58c589cdce141a4c702c316a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Mon, 9 Oct 2017 11:13:01 -0500 Subject: [PATCH] [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. --- react/features/mobile/full-screen/middleware.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/react/features/mobile/full-screen/middleware.js b/react/features/mobile/full-screen/middleware.js index 856e428b2..787b74543 100644 --- a/react/features/mobile/full-screen/middleware.js +++ b/react/features/mobile/full-screen/middleware.js @@ -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; }