Skip to content

Commit

Permalink
fix(whiteboard) simplify room hash generation to cover custom region …
Browse files Browse the repository at this point in the history
…shards
  • Loading branch information
mihhu committed Nov 28, 2024
1 parent 0149b5f commit 7b0c490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react/features/whiteboard/functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7b0c490

Please sign in to comment.