Working send and updated account structure

This commit is contained in:
2026-08-20 11:24:59 +02:00
parent 9c448049bc
commit cce9756a1b
8 changed files with 28 additions and 16 deletions
+3 -2
View File
@@ -2,11 +2,12 @@ use serde::{Deserialize, Serialize};
use std::fs;
use tauri::{AppHandle, Manager};
use crate::protocol::ClientMeta;
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Account {
pub display_name: String,
pub avatar: Option<String>,
pub meta: ClientMeta,
pub private_key: String,
}