This commit is contained in:
2026-08-01 09:36:24 +08:00
parent 30e441dfc9
commit bdd11355c2
6 changed files with 285 additions and 1 deletions
+3
View File
@@ -16,6 +16,9 @@ async getFriend(id: string) : Promise<Friend | null> {
},
async deleteFriend(id: string) : Promise<boolean> {
return await TAURI_INVOKE("delete_friend", { id });
},
async getPublicKey() : Promise<string> {
return await TAURI_INVOKE("get_public_key");
}
}