Improve resale unique gift display.

This commit is contained in:
John Preston
2025-04-18 17:22:11 +04:00
parent e629460942
commit 284f7fc4f7
4 changed files with 34 additions and 14 deletions
+1
View File
@@ -856,6 +856,7 @@ std::optional<Data::StarGift> FromTL(
.model = *model,
.pattern = *pattern,
}),
.starsResellMin = int64(data.vresell_stars().value_or_empty()),
.document = model->document,
.limitedLeft = (total - data.vavailability_issued().v),
.limitedCount = total,