mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-05 08:37:15 +00:00
option to enable force-always-relay
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
1 parent
0649a49d17
commit
a7c87a5f57
3 files changed
+16
-16
No files matched your search
+1
-1
@@ -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