diff --git a/td/telegram/StickersManager.cpp b/td/telegram/StickersManager.cpp index e45c9397a..5d0d440cc 100644 --- a/td/telegram/StickersManager.cpp +++ b/td/telegram/StickersManager.cpp @@ -4583,7 +4583,7 @@ void StickersManager::invalidate_old_featured_sticker_sets() { auto promises = std::move(load_old_featured_sticker_sets_queries_); load_old_featured_sticker_sets_queries_.clear(); for (auto &promise : promises) { - promise.set_error(Status::Error(400, "Trending sticker sets was updated")); + promise.set_error(Status::Error(400, "Trending sticker sets were updated")); } } diff --git a/td/telegram/TdDb.cpp b/td/telegram/TdDb.cpp index 1921d084c..7566ea514 100644 --- a/td/telegram/TdDb.cpp +++ b/td/telegram/TdDb.cpp @@ -352,6 +352,9 @@ Status TdDb::init_sqlite(int32 scheduler_id, const TdParameters ¶meters, DbK } if (user_version == 0) { binlog_pmc.erase("next_contacts_sync_date"); + binlog_pmc.erase("saved_contact_count"); + binlog_pmc.erase("old_featured_sticker_set_count"); + binlog_pmc.erase("invalidate_old_featured_sticker_sets"); } binlog_pmc.force_sync({});