mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
option to enable force-always-relay
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -841,7 +841,7 @@ impl LoginConfigHandler {
|
||||
self.session_id = rand::random();
|
||||
self.supported_encoding = None;
|
||||
self.restarting_remote_device = false;
|
||||
self.force_relay = false;
|
||||
self.force_relay = !self.get_option("force-always-relay").is_empty();
|
||||
}
|
||||
|
||||
pub fn should_auto_login(&self) -> String {
|
||||
|
||||
Reference in New Issue
Block a user