remove "display name" from adding new friends

This commit is contained in:
2026-08-28 14:21:36 +08:00
parent a042945f5d
commit eb689210d4
17 changed files with 749 additions and 317 deletions
+9 -1
View File
@@ -1,7 +1,7 @@
use serde::{Deserialize, Serialize};
use specta::Type;
pub const VERSION: u8 = 1;
pub const VERSION: u8 = 2;
pub const MAX_INTERACTION_PAYLOAD_BYTES: usize = 160 * 1024;
pub const MAX_IMAGE_B64_SIZE: usize = 150 * 1024;
pub const MAX_IMAGE_DIMENSION: u32 = 480;
@@ -32,6 +32,10 @@ pub enum ClientMessage {
},
SyncFriendProfiles,
SyncFriendStatuses,
ResolveProfile {
request_id: String,
user_id: String,
},
Signed {
payload: String,
signature: String,
@@ -107,6 +111,10 @@ pub enum ServerMessage {
FriendProfiles {
profiles: Vec<Profile>,
},
ProfileResolved {
request_id: String,
profile: Option<Profile>,
},
FriendStatusChanged {
friend_id: String,
online: bool,