mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-27 23:21:06 +03: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