summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-02-12 16:52:37 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-02-12 16:52:37 +0300
commit2c02d11e1d5c56e458aa2d0990faac3a782fade8 (patch)
tree305b494207cd9c6d6f60f7e7e5654ebe65eb01f0
parent6f519be8984e1c57d0bec611cd4cfacf85679d4b (diff)
.
-rw-r--r--src/mir_app/src/file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/file.cpp b/src/mir_app/src/file.cpp
index 9547d0eb2d..5d15a06801 100644
--- a/src/mir_app/src/file.cpp
+++ b/src/mir_app/src/file.cpp
@@ -172,7 +172,7 @@ static int SRFilePreShutdown(WPARAM, LPARAM)
static int SRFileEventDeleted(WPARAM hContact, LPARAM hDbEvent)
{
- if (File::bOfflineAuto) {
+ if (File::bOfflineDelete) {
DB::EventInfo dbei(hDbEvent);
if (dbei && dbei.eventType == EVENTTYPE_FILE) {
DB::FILE_BLOB blob(dbei);