mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 13:17:08 +02:00
Simplified handle of incoming credit history entries.
This commit is contained in:
parent
66f375d2c6
commit
29b7673b88
1 changed files with 1 additions and 4 deletions
|
@ -111,10 +111,7 @@ constexpr auto kTransactionsLimit = 100;
|
|||
? base::unixtime::parse(tl.data().vtransaction_date()->v)
|
||||
: QDateTime(),
|
||||
.successLink = qs(tl.data().vtransaction_url().value_or_empty()),
|
||||
.in = (!isBot || tl.data().is_refund())
|
||||
&& !tl.data().is_pending()
|
||||
&& !tl.data().is_failed()
|
||||
&& !tl.data().vextended_media(),
|
||||
.in = (int64(tl.data().vstars().v) >= 0),
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue