mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Fix channels in poll results restoring.
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user