friends connection status system

This commit is contained in:
2026-08-26 21:44:53 +08:00
parent 74a5268420
commit 5916de9a91
15 changed files with 722 additions and 56 deletions
+8
View File
@@ -31,6 +31,7 @@ pub enum ClientMessage {
signature: String,
},
SyncFriendProfiles,
SyncFriendStatuses,
Signed {
payload: String,
signature: String,
@@ -106,6 +107,13 @@ pub enum ServerMessage {
FriendProfiles {
profiles: Vec<Profile>,
},
FriendStatusChanged {
friend_id: String,
online: bool,
},
FriendStatuses {
friend_ids: Vec<String>,
},
FriendLiveData {
friend_id: String,
payload: String,