tdesktop/Telegram/SourceFiles/storage
Ilya Fedin 9fba9048af Use the same check for drag'n'drop image type as for file dialog
The code path when choosing an image in file dialog tries to read a QImage with Images::Read and then only checks that mime type starts with image/ in ValidPhotoForAlbum

Core::FileIsImage and QImageReader::canRead checks should provide the same behavior
2022-12-26 14:23:23 +04:00
..
details Moved tmp string for temporary folder to single place. 2022-11-30 17:17:16 +03:00
download_manager_mtproto.cpp Replaced some qstr with u""_q literal. 2022-11-29 14:12:50 +03:00
download_manager_mtproto.h
file_download.cpp
file_download.h Removed unused includes of observer file. 2022-11-01 20:03:14 +04:00
file_download_mtproto.cpp
file_download_mtproto.h
file_download_web.cpp Removed unused includes of observer file. 2022-11-01 20:03:14 +04:00
file_download_web.h
file_upload.cpp Add jump-to-topic panel in View as Messages. 2022-12-02 18:20:22 +04:00
file_upload.h
localimageloader.cpp Replaced some qsl with u""_q literal. 2022-11-30 17:17:14 +03:00
localimageloader.h Optimized includes of attach_prepare.h. 2022-11-22 00:26:48 +00:00
localstorage.cpp Replaced some qsl with u""_q literal. 2022-11-30 17:17:14 +03:00
localstorage.h
serialize_common.cpp
serialize_common.h
serialize_document.cpp
serialize_document.h
serialize_peer.cpp Removed username from public data members of UserData. 2022-11-01 19:25:38 +04:00
serialize_peer.h
storage_account.cpp Replaced some qsl with u""_q literal. 2022-11-30 17:17:14 +03:00
storage_account.h
storage_cloud_blob.cpp
storage_cloud_blob.h
storage_domain.cpp Replaced some qsl with u""_q literal. 2022-11-30 17:17:14 +03:00
storage_domain.h
storage_facade.cpp Support pinned messages bar in topics. 2022-11-01 19:25:43 +04:00
storage_facade.h Support pinned messages bar in topics. 2022-11-01 19:25:43 +04:00
storage_file_lock.h
storage_file_lock_posix.cpp
storage_file_lock_win.cpp
storage_media_prepare.cpp Use the same check for drag'n'drop image type as for file dialog 2022-12-26 14:23:23 +04:00
storage_media_prepare.h
storage_shared_media.cpp Fix pinning between topics. 2022-11-07 15:12:47 +04:00
storage_shared_media.h Fix pinning between topics. 2022-11-07 15:12:47 +04:00
storage_sparse_ids_list.cpp
storage_sparse_ids_list.h
storage_user_photos.cpp
storage_user_photos.h
streamed_file_downloader.cpp Request up to 32 file parts at once for video downloads. 2022-08-16 08:57:36 +03:00
streamed_file_downloader.h