Fix getChatBoosts.only_gift_codes.

This commit is contained in:
levlam 2023-11-17 23:59:39 +03:00
parent 8d1262ca6a
commit 1a70df54ca

View File

@ -253,7 +253,7 @@ class GetBoostsListQuery final : public Td::ResultHandler {
flags |= telegram_api::premium_getBoostsList::GIFTS_MASK;
}
send_query(G()->net_query_creator().create(
telegram_api::premium_getBoostsList(0, false /*ignored*/, std::move(input_peer), offset, limit)));
telegram_api::premium_getBoostsList(flags, false /*ignored*/, std::move(input_peer), offset, limit)));
}
void on_result(BufferSlice packet) final {