Merge pull request #5659 from 21pages/fix

install service period protection
This commit is contained in:
RustDesk 2023-09-13 13:22:21 +08:00 committed by GitHub
commit 2c2c828b47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 45 additions and 5 deletions

View file

@ -2284,7 +2284,7 @@ impl Connection {
lock_screen().await;
}
#[cfg(not(any(target_os = "android", target_os = "ios")))]
let data = if self.chat_unanswered || self.file_transferred {
let data = if self.chat_unanswered || self.file_transferred && cfg!(feature = "flutter") {
ipc::Data::Disconnected
} else {
ipc::Data::Close