Add comment
Co-authored-by: Timo <16718859+toger5@users.noreply.github.com>
This commit is contained in:
@@ -44,6 +44,9 @@ const useKeyFromUrl = (roomId: string): string | null => {
|
|||||||
if (!urlParams.roomId) return;
|
if (!urlParams.roomId) return;
|
||||||
|
|
||||||
setLocalStorageItem(
|
setLocalStorageItem(
|
||||||
|
// We set the Item by only using data from the url. This way we
|
||||||
|
// make sure, we always have matching pairs in the LocalStorage,
|
||||||
|
// as they occur in the call links.
|
||||||
getRoomSharedKeyLocalStorageKey(urlParams.roomId),
|
getRoomSharedKeyLocalStorageKey(urlParams.roomId),
|
||||||
urlParams.password
|
urlParams.password
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user