|
@@ -382,10 +382,11 @@ export function createConference() {
|
382
|
382
|
* @returns {Function}
|
383
|
383
|
*/
|
384
|
384
|
export function checkIfCanJoin() {
|
385
|
|
- return (dispatch: Dispatch<*>, getState: Function) => {
|
|
385
|
+ return (dispatch: Function, getState: Function) => {
|
386
|
386
|
const { authRequired, password }
|
387
|
387
|
= getState()['features/base/conference'];
|
388
|
388
|
|
|
389
|
+ authRequired && dispatch(_conferenceWillJoin(authRequired));
|
389
|
390
|
authRequired && authRequired.join(password);
|
390
|
391
|
};
|
391
|
392
|
}
|