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) simplify room hash generation to cover custom region shards (#15345)

Mihaela Dumitru05a930e5f5ec
diff --git a/react/features/whiteboard/functions.ts b/react/features/whiteboard/functions.ts
index 5b7e9ba18b..16d34845ce 100644
--- a/react/features/whiteboard/functions.ts
+++ b/react/features/whiteboard/functions.ts
@@ -99,7 +99,7 @@ export const generateCollabServerUrl = (state: IReduxState): string | undefined
const inBreakoutRoom = isInBreakoutRoom(state);
const roomId = getCurrentRoomId(state);
const room = md5.hex(
- `${locationURL?.origin}${getBackendSafePath(locationURL?.pathname)}${inBreakoutRoom ? `|${roomId}` : ''}`
+ `${getBackendSafePath(locationURL?.pathname)}${inBreakoutRoom ? `|${roomId}` : ''}`
);
return appendURLParam(collabServerBaseUrl, 'room', room);