Update stories from channelFull.

This commit is contained in:
levlam 2023-09-05 18:36:30 +03:00
parent de204f7bf2
commit b4c25af1b6

View File

@ -13191,6 +13191,9 @@ void ContactsManager::on_get_chat_full(tl_object_ptr<telegram_api::ChatFull> &&c
td_->messages_manager_->on_update_dialog_is_translatable(DialogId(channel_id), !channel->translations_disabled_);
send_closure_later(td_->story_manager_actor_, &StoryManager::on_get_dialog_stories, DialogId(channel_id),
std::move(channel->stories_), Promise<Unit>());
ChannelFull *channel_full = add_channel_full(channel_id);
bool have_participant_count = (channel->flags_ & CHANNEL_FULL_FLAG_HAS_PARTICIPANT_COUNT) != 0;