diff --git a/Telegram/SourceFiles/storage/storage_media_prepare.cpp b/Telegram/SourceFiles/storage/storage_media_prepare.cpp
index 9cd6a86e6..48ce0d75d 100644
--- a/Telegram/SourceFiles/storage/storage_media_prepare.cpp
+++ b/Telegram/SourceFiles/storage/storage_media_prepare.cpp
@@ -322,9 +322,6 @@ std::optional<PreparedList> PreparedList::PreparedFileFromFilesDialog(
 		auto filteredFiles = ranges::view::all(
 			temp.files
 		) | ranges::view::filter([&](const auto &file) {
-			if (!isAlbum) {
-				return true;
-			}
 			const auto info = QFileInfo(file.path);
 			if (Core::IsMimeSticker(Core::MimeTypeForFile(info).name())) {
 				if (isSingleFile) {
@@ -332,6 +329,9 @@ std::optional<PreparedList> PreparedList::PreparedFileFromFilesDialog(
 				}
 				return false;
 			}
+			if (!isAlbum) {
+				return true;
+			}
 			using Info = FileMediaInformation;
 
 			const auto media = &file.information->media;