mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-29 13:39:06 +00:00
Simplified handle of incoming credit history entries.
This commit is contained in:
parent
66f375d2c6
commit
29b7673b88
@ -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…
x
Reference in New Issue
Block a user