summaryrefslogtreecommitdiff
path: root/protocols/CurrencyRates
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-01-23 19:05:51 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-01-23 19:05:51 +0300
commit60fec7a89a7870d52ebd76315193b105973b1219 (patch)
tree8df3b928516934d478367791bf5b8d2f4b92a930 /protocols/CurrencyRates
parent14b6b214743b1913258fc03c21f5e0841a66c2fd (diff)
fixes #4104 (Удаление серверной истории)
Diffstat (limited to 'protocols/CurrencyRates')
-rw-r--r--protocols/CurrencyRates/src/CurrencyRatesProviderBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/CurrencyRates/src/CurrencyRatesProviderBase.cpp b/protocols/CurrencyRates/src/CurrencyRatesProviderBase.cpp
index 989ae7bd37..f4558d2d17 100644
--- a/protocols/CurrencyRates/src/CurrencyRatesProviderBase.cpp
+++ b/protocols/CurrencyRates/src/CurrencyRatesProviderBase.cpp
@@ -912,7 +912,7 @@ bool CCurrencyRatesProviderBase::WatchForRate(const TRateInfo &ri, bool bWatch)
}
}
else if (!bWatch && hContact) {
- db_delete_contact(hContact, true);
+ db_delete_contact(hContact, CDF_FROM_SERVER);
return true;
}