mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
fix group key pair cache issue
This commit is contained in:
parent
8b88eca050
commit
47e2f5726e
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ export async function getAllCachedECKeyPair(groupPubKey: string) {
|
|||
cacheOfClosedGroupKeyPairs.set(groupPubKey, keyPairsFound);
|
||||
}
|
||||
|
||||
return keyPairsFound;
|
||||
return keyPairsFound.slice();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue