fix auth issues
This commit is contained in:
parent
375a09d6f7
commit
44d00a3fd1
20 changed files with 88 additions and 27 deletions
|
|
@ -9,6 +9,7 @@ use crate::user::MessagingUser;
|
|||
|
||||
pub mod user;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct MessagingManager {
|
||||
users_by_pid: RwLock<HashMap<PID, WeakPassthroughInitModule<MessagingUser>>>,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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>,
|
||||
|
|
|
|||
Loading…
Reference in a new issue