Expect no access to messageMediaStory's chat.
This commit is contained in:
parent
4ce900c5fd
commit
10dda3df77
@ -5568,7 +5568,7 @@ unique_ptr<MessageContent> get_message_content(Td *td, FormattedText message,
|
|||||||
LOG(ERROR) << "Receive " << actual_story_id << " instead of " << story_id;
|
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_);
|
return make_unique<MessageStory>(story_full_id, media->via_mention_);
|
||||||
}
|
}
|
||||||
case telegram_api::messageMediaGiveaway::ID: {
|
case telegram_api::messageMediaGiveaway::ID: {
|
||||||
|
Loading…
Reference in New Issue
Block a user