From 86612f0a677d1fe9e9bfb06bd819f8cc13779545 Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 16 Oct 2020 17:23:06 +0300 Subject: [PATCH] Allow dropping any amount of any files. --- Telegram/SourceFiles/boxes/send_files_box.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/Telegram/SourceFiles/boxes/send_files_box.cpp b/Telegram/SourceFiles/boxes/send_files_box.cpp index fc01e8808b..9126230364 100644 --- a/Telegram/SourceFiles/boxes/send_files_box.cpp +++ b/Telegram/SourceFiles/boxes/send_files_box.cpp @@ -376,9 +376,6 @@ void SendFilesBox::setupDragArea() { const auto state = Storage::ComputeMimeDataState(data); return (state == DragState::PhotoFiles) ? DragState::Image - : (state == DragState::Files - && !Storage::ValidateDragData(data, true)) - ? DragState::None : state; }; const auto areas = DragArea::SetupDragAreaToContainer(