From b503363e5698cb547c8c3b90bd43f47336968d3c Mon Sep 17 00:00:00 2001 From: Maple Date: Sat, 11 Apr 2026 20:24:13 +0200 Subject: [PATCH] add check setting status --- rnex-core/src/nex/friends_handler.rs | 4 ++++ rnex-core/src/rmc/protocols/friends.rs | 2 ++ 2 files changed, 6 insertions(+) diff --git a/rnex-core/src/nex/friends_handler.rs b/rnex-core/src/nex/friends_handler.rs index be5d684..09e9c9d 100644 --- a/rnex-core/src/nex/friends_handler.rs +++ b/rnex-core/src/nex/friends_handler.rs @@ -143,6 +143,10 @@ impl Friends for FriendsUser { false, )) } + + async fn check_setting_status(&self) -> Result { + Ok(0xFF) + } } impl Secure for FriendsUser { diff --git a/rnex-core/src/rmc/protocols/friends.rs b/rnex-core/src/rmc/protocols/friends.rs index 775016e..07dcd1a 100644 --- a/rnex-core/src/rmc/protocols/friends.rs +++ b/rnex-core/src/rmc/protocols/friends.rs @@ -143,4 +143,6 @@ pub trait Friends { ), ErrorCode, >; + #[method_id(19)] + async fn check_setting_status(&self) -> Result; }