Make WebRTC call a class

This commit is contained in:
2025-10-14 17:04:38 +03:00
Unverified
parent bcf445916c
commit eba9875466
4 changed files with 799 additions and 769 deletions
+4
View File
@@ -139,4 +139,8 @@ export async function ensureKeysOnLogin(password: string, token: string): Promis
export function restoreKeys() {
currentPublicKey = ub64(localStorage.getItem("publicKey")!);
currentPrivateKey = ub64(localStorage.getItem("privateKey")!);
}
export function getAuthToken(): string | null {
return localStorage.getItem("authToken");
}