mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 08:55:59 +00:00
Version 5.2: Fix build with GCC.
This commit is contained in:
@@ -69,16 +69,6 @@ constexpr auto kTransactionsLimit = 100;
|
||||
}, [](const auto &) {
|
||||
return PeerId(0);
|
||||
}).value;
|
||||
const auto isBot = [&] {
|
||||
if (barePeerId) {
|
||||
if (const auto p = peer->owner().peer(PeerId(barePeerId))) {
|
||||
if (const auto u = p->asUser()) {
|
||||
return u->isBot();
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}();
|
||||
return Data::CreditsHistoryEntry{
|
||||
.id = qs(tl.data().vid()),
|
||||
.title = qs(tl.data().vtitle().value_or_empty()),
|
||||
|
Reference in New Issue
Block a user