mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-15 00:04:59 +08:00
Add comment
Co-authored-by: Timo <16718859+toger5@users.noreply.github.com>
This commit is contained in:
parent
d7b33ee959
commit
51f87fa42a
@ -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
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user