Start load invited users

This commit is contained in:
Adrian Wozniak 2020-04-21 21:41:18 +02:00
parent 9badbad71f
commit da8fa8bebe

View File

@ -48,3 +48,11 @@ impl WsHandler<Register> for WebSocketActor {
Ok(msg)
}
}
pub struct LoadInvitedUsers;
impl WsHandler<LoadInvitedUsers> for WebSockerActor {
fn handle_msg(&mut self, msg: LoadInvitedUsers, _ctx: &mut _) -> WsResult {
let user_id = self.require_user()?.id;
}
}