2
0
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:
John Preston
2024-06-30 23:59:03 +04:00
parent 7eb98b50ec
commit 707951accb
8 changed files with 1 additions and 22 deletions

View File

@@ -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()),