Allow filtering resale gifts by-stars-only.

This commit is contained in:
John Preston
2026-03-13 11:41:37 +04:00
parent 5b3d9cf3ba
commit 4fcfbed7d2
9 changed files with 48 additions and 6 deletions
+2 -1
View File
@@ -236,7 +236,8 @@ rpl::producer<ResaleGiftsDescriptor> ResaleGiftsSlice(
| (filter.attributes.empty()
? Flag()
: Flag::f_attributes)
| (filter.forCraft ? Flag::f_for_craft : Flag())),
| (filter.forCraft ? Flag::f_for_craft : Flag())
| (filter.starsOnly ? Flag::f_stars_only : Flag())),
MTP_long(filter.attributesHash),
MTP_long(giftId),
MTP_vector_from_range(filter.attributes