mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-30 07:33:03 +00:00
1 parent
8667d68c6f
commit
0812dc79b8
2 files changed
+9
No files matched your search
@@ -1633,6 +1633,11 @@ impl Remote {
|
||||
// log::info!("new msg from ui, {}",data);
|
||||
match data {
|
||||
Data::Close => {
|
||||
let mut misc = Misc::new();
|
||||
misc.set_close_reason("".to_owned());
|
||||
let mut msg = Message::new();
|
||||
msg.set_misc(misc);
|
||||
allow_err!(peer.send(&msg).await);
|
||||
return false;
|
||||
}
|
||||
Data::Login((password, remember)) => {
|
||||
|
||||
Reference in new issue
Block a user