mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
(react-native-sdk) Adds CONFERENCE_FOCUSED and CONFERENCE_BLURRED events to the external and RN api (#13657)
* (react-native-sdk) Adds `CONFERENCE_FOCUSED` and `CONFERENCE_BLURRED` events to the external and RN API
This commit is contained in:
@@ -10,7 +10,9 @@ import { appNavigate } from '../../app/actions.native';
|
||||
import { IStore } from '../../app/types';
|
||||
import { APP_WILL_MOUNT, APP_WILL_UNMOUNT } from '../../base/app/actionTypes';
|
||||
import {
|
||||
CONFERENCE_BLURRED,
|
||||
CONFERENCE_FAILED,
|
||||
CONFERENCE_FOCUSED,
|
||||
CONFERENCE_JOINED,
|
||||
CONFERENCE_LEFT,
|
||||
CONFERENCE_WILL_JOIN,
|
||||
@@ -151,6 +153,14 @@ externalAPIEnabled && MiddlewareRegistry.register(store => next => action => {
|
||||
_registerForEndpointTextMessages(store);
|
||||
break;
|
||||
|
||||
case CONFERENCE_BLURRED:
|
||||
sendEvent(store, CONFERENCE_BLURRED, {});
|
||||
break;
|
||||
|
||||
case CONFERENCE_FOCUSED:
|
||||
sendEvent(store, CONFERENCE_FOCUSED, {});
|
||||
break;
|
||||
|
||||
case CONNECTION_DISCONNECTED: {
|
||||
// FIXME: This is a hack. See the description in the JITSI_CONNECTION_CONFERENCE_KEY constant definition.
|
||||
// Check if this connection was attached to any conference.
|
||||
|
||||
Reference in New Issue
Block a user