diff --git a/Telegram/SourceFiles/boxes/send_files_box.cpp b/Telegram/SourceFiles/boxes/send_files_box.cpp index 3aea786574..2b1eb7085f 100644 --- a/Telegram/SourceFiles/boxes/send_files_box.cpp +++ b/Telegram/SourceFiles/boxes/send_files_box.cpp @@ -1486,7 +1486,9 @@ void SendFilesBox::pushBlock(int from, int till) { &st::menuIconCaptionShow); } const auto canToggleSpoiler = !hasPrice() - && _sendWay.current().sendImagesAsPhotos(); + && _sendWay.current().sendImagesAsPhotos() + && (file.type == Ui::PreparedFile::Type::Photo + || file.type == Ui::PreparedFile::Type::Video); if (canToggleSpoiler) { const auto spoilered = file.spoiler; const auto &icons = _st.tabbed.icons;