fix auth issues

This commit is contained in:
Maple Nebel 2026-07-14 23:18:43 +02:00
commit 44d00a3fd1
20 changed files with 88 additions and 27 deletions

View file

@ -9,6 +9,7 @@ use crate::user::MessagingUser;
pub mod user;
#[derive(Debug)]
pub struct MessagingManager {
users_by_pid: RwLock<HashMap<PID, WeakPassthroughInitModule<MessagingUser>>>,
}

View file

@ -7,6 +7,7 @@ use rnex_msg_protos::{
use rnex_rmc::{any::Any, response::ErrorCode, rmc_struct, util::PID};
use rnex_server::{PassthroughInitModule, WeakPassthroughInitModule};
#[derive(Debug)]
#[rmc_struct(MessagingProtocol)]
pub struct MessagingUser {
pub msgm: PassthroughInitModule<MessagingManager>,