Skip to content

Commit c812f02

Browse files
committed
Fix music album caption
1 parent 67aff70 commit c812f02

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎Telegram/ViewModels/ComposeViewModel.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -784,9 +784,8 @@ private async Task<BaseObject> SendGroupedAsync(ICollection<StorageMedia> items,
784784
var operations = new List<InputMessageContent>();
785785
var paidOperations = new List<InputPaidMedia>();
786786

787-
var firstCaption = asFile ? null : caption;
788-
789787
var audio = items.All(x => x is StorageAudio);
788+
var firstCaption = asFile || audio ? null : caption;
790789

791790
foreach (var item in items)
792791
{

0 commit comments

Comments
 (0)