mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-25 23:19:59 +00:00
1 parent
8c86a82422
commit
b3114d4147
7 files changed
+90
-25
No files matched your search
+2
-2
@@ -894,9 +894,9 @@ pub fn session_restart_remote_device(id: String) {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn session_get_audit_server_sync(id: String) -> SyncReturn<String> {
|
||||
pub fn session_get_audit_server_sync(id: String, typ: String) -> SyncReturn<String> {
|
||||
let res = if let Some(session) = SESSIONS.read().unwrap().get(&id) {
|
||||
session.get_audit_server()
|
||||
session.get_audit_server(typ)
|
||||
} else {
|
||||
"".to_owned()
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user