From 70979f2767293d44654ee69085b0eacd1c464522 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 29 Mar 2023 14:42:03 +0300 Subject: let's wipe ChatCache again because of #3461 --- protocols/Telegram/src/proto.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Telegram/src/proto.cpp') diff --git a/protocols/Telegram/src/proto.cpp b/protocols/Telegram/src/proto.cpp index df74510a59..cd88af4b70 100644 --- a/protocols/Telegram/src/proto.cpp +++ b/protocols/Telegram/src/proto.cpp @@ -139,11 +139,11 @@ void CTelegramProto::OnModulesLoaded() m_arUsers.insert(pUser); if (!isGroupChat) m_arChats.insert(pUser); - else if (iCompatLevel == 0) + else if (iCompatLevel < 2) _wremove(CMStringW(FORMAT, L"%s\\%d.json", cachePath.get(), cc)); } } - setByte(DBKEY_COMPAT, 1); + setByte(DBKEY_COMPAT, 2); m_bSmileyAdd = ServiceExists(MS_SMILEYADD_LOADCONTACTSMILEYS); if (m_bSmileyAdd) { -- cgit v1.2.3