Fixed wrong duplicated gifts in button from shared media section.

This commit is contained in:
23rd
2025-07-02 09:33:40 +03:00
committed by John Preston
parent 950659b29d
commit 71f3a1f7cf
@@ -59,6 +59,7 @@ void RecentSharedMediaGifts::request(
auto &entry = _recent[peer->id];
entry.lastRequestTime = crl::now();
entry.requestId = 0;
entry.ids = {};
auto conter = 0;
for (const auto &gift : data.vgifts().v) {