From 3cdd08feefcd9ffe95e7c235fb1740eea7c42773 Mon Sep 17 00:00:00 2001 From: levlam Date: Fri, 29 Apr 2022 11:02:53 +0300 Subject: [PATCH] Add missing flag assignment. --- td/telegram/ContactsManager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/td/telegram/ContactsManager.cpp b/td/telegram/ContactsManager.cpp index c2f1246ab..693ead161 100644 --- a/td/telegram/ContactsManager.cpp +++ b/td/telegram/ContactsManager.cpp @@ -10109,6 +10109,7 @@ void ContactsManager::update_chat(Chat *c, ChatId chat_id, bool from_binlog, boo if (chat_full != nullptr && !is_same_dialog_photo(td_->file_manager_.get(), DialogId(chat_id), chat_full->photo, c->photo)) { on_update_chat_full_photo(chat_full, chat_id, Photo()); + need_update_chat_full = true; if (c->photo.small_file_id.is_valid()) { reload_chat_full(chat_id, Auto()); } @@ -10183,6 +10184,7 @@ void ContactsManager::update_channel(Channel *c, ChannelId channel_id, bool from if (channel_full != nullptr && !is_same_dialog_photo(td_->file_manager_.get(), DialogId(channel_id), channel_full->photo, c->photo)) { on_update_channel_full_photo(channel_full, channel_id, Photo()); + need_update_channel_full = true; if (c->photo.small_file_id.is_valid()) { if (channel_full->expires_at > 0.0) { channel_full->expires_at = 0.0;