diff --git a/rnex-core/src/nex/friends_handler.rs b/rnex-core/src/nex/friends_handler.rs index b7f44e8..08cca05 100644 --- a/rnex-core/src/nex/friends_handler.rs +++ b/rnex-core/src/nex/friends_handler.rs @@ -42,7 +42,7 @@ use rnex_core::rmc::protocols::account_management::NintendoCreateAccountData; use rnex_core::rmc::protocols::nintendo_notification::NintendoNotificationEvent; use rnex_core::rmc::structures::RmcSerialize; -use crate::rmc::structures::data::Data; +use rnex_core::rmc::structures::data::Data; define_rmc_proto!( proto FriendsUser{ @@ -142,6 +142,7 @@ impl Friends for FriendsUser { let mut fr_list = vec![FriendInfo { + data: Data{}, became_friends: KerberosDateTime::now(), comment: Comment { last_changed: KerberosDateTime::now(), diff --git a/rnex-core/src/rmc/protocols/friends.rs b/rnex-core/src/rmc/protocols/friends.rs index 766797f..fa32120 100644 --- a/rnex-core/src/rmc/protocols/friends.rs +++ b/rnex-core/src/rmc/protocols/friends.rs @@ -2,7 +2,7 @@ use macros::{RmcSerialize, method_id, rmc_proto}; use rnex_core::{kerberos::KerberosDateTime, rmc::response::ErrorCode}; -use crate::rmc::structures::{data::Data, rmc_struct}; +use rnex_core::rmc::structures::{data::Data, rmc_struct}; #[derive(RmcSerialize, Debug, Clone)] #[rmc_struct(0)]