mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-09-09 04:18:40 +00:00
fix(rn,call-integration) use a more reliable event for starting
The will-join event happens before we actually try to join and things would go wrong, whereas join-in-progress happens when it's guaranteed that joining will be successful.
This commit is contained in:
committed by
Saúl Ibarra Corretgé
parent
e2a933ad92
commit
6fea2a4638
@@ -11,8 +11,8 @@ import { SET_AUDIO_ONLY } from '../../base/audio-only/actionTypes';
|
||||
import {
|
||||
CONFERENCE_FAILED,
|
||||
CONFERENCE_JOINED,
|
||||
CONFERENCE_JOIN_IN_PROGRESS,
|
||||
CONFERENCE_LEFT,
|
||||
CONFERENCE_WILL_JOIN,
|
||||
CONFERENCE_WILL_LEAVE
|
||||
} from '../../base/conference/actionTypes';
|
||||
import {
|
||||
@@ -77,7 +77,7 @@ CallIntegration && MiddlewareRegistry.register(store => next => action => {
|
||||
case CONFERENCE_WILL_LEAVE:
|
||||
return _conferenceLeft(store, next, action);
|
||||
|
||||
case CONFERENCE_WILL_JOIN:
|
||||
case CONFERENCE_JOIN_IN_PROGRESS:
|
||||
return _conferenceWillJoin(store, next, action);
|
||||
|
||||
case SET_AUDIO_ONLY:
|
||||
|
||||
Reference in New Issue
Block a user