diff options
author | Dan Elkouby | 2020-01-26 21:44:23 +0200 |
---|---|---|
committer | Dan Elkouby | 2020-01-26 21:44:27 +0200 |
commit | f6b2fefd76e6bc1fa2b41482f3e044075115bf0f (patch) | |
tree | 5f14ca690dbd87e520fd817ca2fb40516412beda /always_send_as_photo_or_album.patch | |
parent | 9bff105b3632ca4f33dfd7f63bbb94523d2c88a1 (diff) | |
download | aur-f6b2fefd76e6bc1fa2b41482f3e044075115bf0f.tar.gz |
Fix multiple files sending as individual photos
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 77e05223600c..cb9dbfe737b6 100644 --- a/always_send_as_photo_or_album.patch +++ b/always_send_as_photo_or_album.patch @@ -18,6 +18,7 @@ index 2f4c45c48..ed9bf4bb6 100644 - ? SendFilesWay::Album - : SendFilesWay::Photos; - } - return (_list.albumIsPossible && !_albumPhotosCount) +- return (_list.albumIsPossible && !_albumPhotosCount) ++ return _list.albumIsPossible ? SendFilesWay::Album : SendFilesWay::Photos; |