Ver código fonte

fix(whiteboard) simplify room hash generation to cover custom region shards (#15345)

factor2
Mihaela Dumitru 6 meses atrás
pai
commit
05a930e5f5
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      react/features/whiteboard/functions.ts

+ 1
- 1
react/features/whiteboard/functions.ts Ver arquivo

@@ -99,7 +99,7 @@ export const generateCollabServerUrl = (state: IReduxState): string | undefined
99 99
     const inBreakoutRoom = isInBreakoutRoom(state);
100 100
     const roomId = getCurrentRoomId(state);
101 101
     const room = md5.hex(
102
-        `${locationURL?.origin}${getBackendSafePath(locationURL?.pathname)}${inBreakoutRoom ? `|${roomId}` : ''}`
102
+        `${getBackendSafePath(locationURL?.pathname)}${inBreakoutRoom ? `|${roomId}` : ''}`
103 103
     );
104 104
 
105 105
     return appendURLParam(collabServerBaseUrl, 'room', room);

Carregando…
Cancelar
Salvar