Increase cache version to redownload photo.has_animation flag.
GitOrigin-RevId: f5c103025ba8d21ac5499f37056c1e14a7c4c719
This commit is contained in:
parent
8477f329f5
commit
5e14714182
@ -586,7 +586,7 @@ class ContactsManager : public Actor {
|
||||
|
||||
std::unordered_map<DialogId, int32, DialogIdHash> online_member_dialogs; // id -> time
|
||||
|
||||
static constexpr uint32 CACHE_VERSION = 1;
|
||||
static constexpr uint32 CACHE_VERSION = 2;
|
||||
uint32 cache_version = 0;
|
||||
|
||||
bool is_min_access_hash = true;
|
||||
@ -698,7 +698,7 @@ class ContactsManager : public Actor {
|
||||
DialogParticipantStatus status = DialogParticipantStatus::Banned(0);
|
||||
RestrictedRights default_permissions{false, false, false, false, false, false, false, false, false, false, false};
|
||||
|
||||
static constexpr uint32 CACHE_VERSION = 1;
|
||||
static constexpr uint32 CACHE_VERSION = 2;
|
||||
uint32 cache_version = 0;
|
||||
|
||||
bool is_active = false;
|
||||
@ -765,7 +765,7 @@ class ContactsManager : public Actor {
|
||||
int32 date = 0;
|
||||
int32 participant_count = 0;
|
||||
|
||||
static constexpr uint32 CACHE_VERSION = 4;
|
||||
static constexpr uint32 CACHE_VERSION = 5;
|
||||
uint32 cache_version = 0;
|
||||
|
||||
bool has_linked_channel = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user