Fix build on macOS.

This commit is contained in:
John Preston 2024-07-17 16:20:18 +02:00
parent 675ee9088f
commit 61ca619db4

View file

@ -948,7 +948,6 @@ void CreditsController::applySlice(const Data::CreditsStatusSlice &slice) {
delegate()->peerListUpdateRow(row);
},
};
using Type = Data::CreditsHistoryEntry::PeerType;
if (const auto peerId = PeerId(item.barePeerId)) {
const auto peer = session().data().peer(peerId);
return std::make_unique<CreditsRow>(peer, descriptor);