relay hint msgbox

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages committed 2023-02-14 20:51:32 +08:00
1 parent 6f106251f9
commit d2e0cb396f
39 files changed
+179 -59

No files matched your search

+4
View File
@@ -916,6 +916,8 @@ pub struct LoginConfigHandler {
pub direct: Option<bool>,
pub received: bool,
switch_uuid: Option<String>,
pub success_time: Option<hbb_common::tokio::time::Instant>,
pub direct_error_counter: usize,
}
impl Deref for LoginConfigHandler {
@@ -962,6 +964,8 @@ impl LoginConfigHandler {
self.direct = None;
self.received = false;
self.switch_uuid = switch_uuid;
self.success_time = None;
self.direct_error_counter = 0;
}
/// Check if the client should auto login.