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/pinning) mark whiteboard participant as pinned in the active participant logic (#13232)

Mihaela Dumitru6e9e9c9a6a94
diff --git a/react/features/filmstrip/middleware.web.ts b/react/features/filmstrip/middleware.web.ts
index 5f0763f365..98fbb494c7 100644
--- a/react/features/filmstrip/middleware.web.ts
+++ b/react/features/filmstrip/middleware.web.ts
@@ -210,7 +210,10 @@ MiddlewareRegistry.register(store => next => action => {
if (participantId === WHITEBOARD_ID) {
// If the whiteboard is pinned, this action should clear the other pins.
- queue = [ { participantId } ];
+ queue = [ {
+ participantId,
+ pinned: true
+ } ];
} else if (isWhiteboardActive && Array.isArray(queue)) {
// When another participant is pinned, remove the whiteboard from the stage area.
queue = queue.filter(p => p?.participantId !== WHITEBOARD_ID);