Avoid force_reuse even for message photos.
This commit is contained in:
parent
74879d9726
commit
ee381ecbb5
@ -2080,7 +2080,7 @@ Result<InputMessageContent> get_input_message_content(
|
||||
auto input_message = static_cast<td_api::inputMessageDocument *>(input_message_content.get());
|
||||
auto file_type = input_message->disable_content_type_detection_ ? FileType::DocumentAsFile : FileType::Document;
|
||||
r_file_id =
|
||||
td->file_manager_->get_input_file_id(file_type, input_message->document_, dialog_id, false, is_secret, true);
|
||||
td->file_manager_->get_input_file_id(file_type, input_message->document_, dialog_id, false, is_secret);
|
||||
input_thumbnail = std::move(input_message->thumbnail_);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user