diff --git a/td/telegram/files/FileManager.cpp b/td/telegram/files/FileManager.cpp index b661ccd4b..a25d5fe86 100644 --- a/td/telegram/files/FileManager.cpp +++ b/td/telegram/files/FileManager.cpp @@ -2949,6 +2949,7 @@ Result FileManager::check_input_file_id(FileType type, Result re } auto file_view = FileView(file_node); FileType real_type = file_view.get_type(); + LOG(INFO) << "Checking file " << file_id << " of type " << type << "/" << real_type; if (!is_encrypted && !is_secure) { if (real_type != type && !(real_type == FileType::Temp && file_view.has_url()) && !(is_document_type(real_type) && is_document_type(type)) &&