mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-30 00:21:02 +03:00
@@ -319,7 +319,6 @@ pub fn session_enter_or_leave(id: String, enter: bool) {
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
if let Some(session) = SESSIONS.read().unwrap().get(&id) {
|
||||
if enter {
|
||||
crate::keyboard::set_cur_session(session.clone());
|
||||
session.enter();
|
||||
} else {
|
||||
session.leave();
|
||||
|
||||
Reference in New Issue
Block a user