2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Simplify paid stars check.

This commit is contained in:
John Preston
2025-02-19 15:03:11 +04:00
parent fe9bac096b
commit c38982d286
7 changed files with 107 additions and 82 deletions

View File

@@ -634,6 +634,7 @@ void SendConfirmedFile(
.replyTo = file->to.replyTo,
.date = NewMessageDate(file->to.options),
.shortcutId = file->to.options.shortcutId,
.starsPaid = file->to.options.starsApproved,
.postAuthor = NewMessagePostAuthor(action),
.groupedId = groupId,
.effectId = file->to.options.effectId,