Drop cached channel lists when dialog database is recreated.

This commit is contained in:
levlam 2023-09-20 19:09:51 +03:00
parent cd7d960ba4
commit cc1b01620b

View File

@ -425,6 +425,8 @@ Status TdDb::init_sqlite(const Parameters &parameters, const DbKey &key, const D
binlog_pmc.erase("dlds_counter");
binlog_pmc.erase_by_prefix("dlds#");
binlog_pmc.erase("fetched_marks_as_unread");
binlog_pmc.erase_by_prefix("public_channels");
binlog_pmc.erase("channels_to_send_stories");
}
if (user_version == 0) {
binlog_pmc.erase("next_contacts_sync_date");