summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);