2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Fix channels in poll results restoring.

This commit is contained in:
John Preston
2024-01-16 08:35:38 +04:00
parent cb4781360a
commit b462d7627f

View File

@@ -372,10 +372,7 @@ void ListController::restoreState(std::unique_ptr<PeerListState> state) {
std::unique_ptr<PeerListRow> ListController::createRestoredRow(
not_null<PeerData*> peer) {
if (const auto user = peer->asUser()) {
return createRow(user);
}
return nullptr;
return createRow(peer);
}
void ListController::rowClicked(not_null<PeerListRow*> row) {