Add comment

Co-authored-by: Timo <16718859+toger5@users.noreply.github.com>
This commit is contained in:
David Baker 2023-10-10 17:06:49 +01:00 committed by GitHub
parent d7b33ee959
commit 51f87fa42a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,6 +44,9 @@ const useKeyFromUrl = (roomId: string): string | null => {
if (!urlParams.roomId) return;
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),
urlParams.password
);