mirror of
https://github.com/element-hq/element-call.git
synced 2026-04-28 06:16:30 +00:00
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;
|
||||
|
||||
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
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user