Temporarily return file_reference repair for secret files.
GitOrigin-RevId: 8c5266cd5e130fbb3628ec532ce8ba3c3ec5a692
This commit is contained in:
parent
c5018cb69c
commit
82d14a6ec1
@ -16857,7 +16857,7 @@ FileSourceId MessagesManager::get_message_file_source_id(FullMessageId full_mess
|
||||
|
||||
void MessagesManager::add_message_file_sources(DialogId dialog_id, const Message *m) {
|
||||
if (dialog_id.get_type() != DialogType::SecretChat && m->is_content_secret) {
|
||||
return;
|
||||
// return;
|
||||
}
|
||||
|
||||
auto file_ids = get_message_content_file_ids(m->content.get(), td_);
|
||||
@ -16891,7 +16891,7 @@ void MessagesManager::remove_message_file_sources(DialogId dialog_id, const Mess
|
||||
|
||||
void MessagesManager::change_message_files(DialogId dialog_id, const Message *m, const vector<FileId> &old_file_ids) {
|
||||
if (dialog_id.get_type() != DialogType::SecretChat && m->is_content_secret) {
|
||||
return;
|
||||
// return;
|
||||
}
|
||||
|
||||
auto new_file_ids = get_message_content_file_ids(m->content.get(), td_);
|
||||
|
Loading…
x
Reference in New Issue
Block a user