Sfoglia il codice sorgente

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

factor2
Mihaela Dumitru 6 mesi fa
parent
commit
05a930e5f5
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      react/features/whiteboard/functions.ts

+ 1
- 1
react/features/whiteboard/functions.ts Vedi File

@@ -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);

Loading…
Annulla
Salva