mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Show my place correctly.
This commit is contained in:
@@ -497,7 +497,7 @@ void AddBidPlaces(
|
||||
if (i->amount < chosen
|
||||
|| (!setting
|
||||
&& i->amount == chosen
|
||||
&& i->date > value.my.date)) {
|
||||
&& i->date >= value.my.date)) {
|
||||
top.push_back({ show->session().user(), chosen });
|
||||
for (auto j = i; j != e; ++j) {
|
||||
if (!pushTop(j)) {
|
||||
|
||||
@@ -407,7 +407,7 @@ int MyAuctionPosition(const GiftAuctionState &state) {
|
||||
const auto &levels = state.bidLevels;
|
||||
for (auto i = begin(levels), e = end(levels); i != e; ++i) {
|
||||
if (i->amount < state.my.bid
|
||||
|| (i->amount == state.my.bid && i->date > state.my.date)) {
|
||||
|| (i->amount == state.my.bid && i->date >= state.my.date)) {
|
||||
return i->position;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user