2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 08:55:59 +00:00

Allow dropping any amount of any files.

This commit is contained in:
John Preston
2020-10-16 17:23:06 +03:00
parent 843fba61ee
commit 86612f0a67

View File

@@ -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(