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
+1
View File
@@ -3532,6 +3532,7 @@ void ApiWrap::sendSharedContact(
.replyTo = action.replyTo,
.date = NewMessageDate(action.options),
.shortcutId = action.options.shortcutId,
.starsPaid = action.options.starsApproved,
.postAuthor = NewMessagePostAuthor(action),
.effectId = action.options.effectId,
}, TextWithEntities(), MTP_messageMediaContact(