Fix pattern caching on themed chat open.

This commit is contained in:
John Preston
2025-08-28 17:53:56 +04:00
parent d51944e6a5
commit b868cfdca9
4 changed files with 11 additions and 3 deletions
+1
View File
@@ -911,6 +911,7 @@ std::optional<Data::StarGift> FromTL(
.starsForResale = FindStarsForResale(data.vresell_amount()),
.number = data.vnum().v,
.onlyAcceptTon = data.is_resale_ton_only(),
.canBeTheme = data.is_theme_available(),
.model = *model,
.pattern = *pattern,
.value = (data.vvalue_amount()