Expect no access to messageMediaStory's chat.

This commit is contained in:
levlam 2023-11-09 01:42:20 +03:00
parent 4ce900c5fd
commit 10dda3df77

View File

@ -5568,7 +5568,7 @@ unique_ptr<MessageContent> get_message_content(Td *td, FormattedText message,
LOG(ERROR) << "Receive " << actual_story_id << " instead of " << story_id;
}
}
td->messages_manager_->force_create_dialog(dialog_id, "messageMediaStory");
td->messages_manager_->force_create_dialog(dialog_id, "messageMediaStory", true);
return make_unique<MessageStory>(story_full_id, media->via_mention_);
}
case telegram_api::messageMediaGiveaway::ID: {