Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(whiteboard): fix auto-open for remote participants on metadata propagation (#17409)

Mihaela Dumitrufcc4552acc82
diff --git a/package-lock.json b/package-lock.json
index 60e010947f..76cd0d83bd 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -18,7 +18,7 @@
"@giphy/js-fetch-api": "4.9.3",
"@giphy/react-components": "6.9.4",
"@giphy/react-native-sdk": "5.0.1",
- "@jitsi/excalidraw": "https://github.com/jitsi/excalidraw/releases/download/0.18.5/jitsi-excalidraw-v0.18.5.tgz",
+ "@jitsi/excalidraw": "https://github.com/jitsi/excalidraw/releases/download/0.18.6/jitsi-excalidraw-0.18.6.tgz",
"@jitsi/js-utils": "6.3.2",
"@jitsi/logger": "2.1.1",
"@jitsi/rnnoise-wasm": "0.2.1",
@@ -4647,9 +4647,9 @@
}
},
"node_modules/@jitsi/excalidraw": {
- "version": "0.18.5",
- "resolved": "https://github.com/jitsi/excalidraw/releases/download/0.18.5/jitsi-excalidraw-v0.18.5.tgz",
- "integrity": "sha512-yHaGPRethlQnvyMnQk5AcEfN0pkwDPS1ndftFoLfw89N2AGGSytYWLVNRwVz6hOkZKoDvhd4uyx7MYdUrILSPw==",
+ "version": "0.18.6",
+ "resolved": "https://github.com/jitsi/excalidraw/releases/download/0.18.6/jitsi-excalidraw-0.18.6.tgz",
+ "integrity": "sha512-nM7N5iEsh+eu/LKccO8FKPo/TvWZuoSoXiD+rVgAoA3aPhYIIoDLgBC1fNzkdfEJs6oFjhIMe85H5PRffXUvSw==",
"license": "MIT",
"dependencies": {
"@braintree/sanitize-url": "6.0.2",
@@ -32793,8 +32793,8 @@
}
},
"@jitsi/excalidraw": {
- "version": "https://github.com/jitsi/excalidraw/releases/download/0.18.5/jitsi-excalidraw-v0.18.5.tgz",
- "integrity": "sha512-yHaGPRethlQnvyMnQk5AcEfN0pkwDPS1ndftFoLfw89N2AGGSytYWLVNRwVz6hOkZKoDvhd4uyx7MYdUrILSPw==",
+ "version": "https://github.com/jitsi/excalidraw/releases/download/0.18.6/jitsi-excalidraw-0.18.6.tgz",
+ "integrity": "sha512-nM7N5iEsh+eu/LKccO8FKPo/TvWZuoSoXiD+rVgAoA3aPhYIIoDLgBC1fNzkdfEJs6oFjhIMe85H5PRffXUvSw==",
"requires": {
"@braintree/sanitize-url": "6.0.2",
"@excalidraw/laser-pointer": "1.3.1",
diff --git a/package.json b/package.json
index 926f61c258..80c92083e3 100644
--- a/package.json
+++ b/package.json
@@ -24,7 +24,7 @@
"@giphy/js-fetch-api": "4.9.3",
"@giphy/react-components": "6.9.4",
"@giphy/react-native-sdk": "5.0.1",
- "@jitsi/excalidraw": "https://github.com/jitsi/excalidraw/releases/download/0.18.5/jitsi-excalidraw-v0.18.5.tgz",
+ "@jitsi/excalidraw": "https://github.com/jitsi/excalidraw/releases/download/0.18.6/jitsi-excalidraw-0.18.6.tgz",
"@jitsi/js-utils": "6.3.2",
"@jitsi/logger": "2.1.1",
"@jitsi/rnnoise-wasm": "0.2.1",
diff --git a/react/features/whiteboard/reducer.ts b/react/features/whiteboard/reducer.ts
index b63849b92d..0a83e5f57a 100644
--- a/react/features/whiteboard/reducer.ts
+++ b/react/features/whiteboard/reducer.ts
@@ -1,6 +1,6 @@
import ReducerRegistry from '../base/redux/ReducerRegistry';
-import { RESET_WHITEBOARD, SETUP_WHITEBOARD } from './actionTypes';
+import { RESET_WHITEBOARD, SETUP_WHITEBOARD, SET_WHITEBOARD_OPEN } from './actionTypes';
export interface IWhiteboardState {
@@ -53,11 +53,16 @@ ReducerRegistry.register(
case SETUP_WHITEBOARD: {
return {
...state,
- isOpen: true,
collabDetails: action.collabDetails,
collabServerUrl: action.collabServerUrl
};
}
+ case SET_WHITEBOARD_OPEN: {
+ return {
+ ...state,
+ isOpen: Boolean(action.isOpen)
+ };
+ }
case RESET_WHITEBOARD:
return DEFAULT_STATE;
}