diff options
author | udf | 2020-09-25 01:05:30 +0200 |
---|---|---|
committer | udf | 2020-09-25 01:05:30 +0200 |
commit | 0d6d8ad5f3e1ea0dd33960b497b0d21a6d1b37fa (patch) | |
tree | 11375aac8781df77dddbcdceadccdd3abbc4142a /always_send_as_photo_or_album.patch | |
parent | 3d22199ee579629c9435b541460185b6055cf827 (diff) | |
download | aur-0d6d8ad5f3e1ea0dd33960b497b0d21a6d1b37fa.tar.gz |
Fix auto-selecting album when selecting multiple files from file picker
Diffstat (limited to 'always_send_as_photo_or_album.patch')
-rw-r--r-- | always_send_as_photo_or_album.patch | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/always_send_as_photo_or_album.patch b/always_send_as_photo_or_album.patch index 994b3fd2ad71..ce55615f9b54 100644 --- a/always_send_as_photo_or_album.patch +++ b/always_send_as_photo_or_album.patch @@ -16,7 +16,8 @@ diff --git a/Telegram/SourceFiles/boxes/send_files_box.cpp b/Telegram/SourceFile - ? SendFilesWay::Album - : SendFilesWay::Photos; - } - return (_list.albumIsPossible && !_albumPhotosCount) +- return (_list.albumIsPossible && !_albumPhotosCount) ++ return _list.albumIsPossible ? SendFilesWay::Album : SendFilesWay::Photos; }(); |