mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 13:17:08 +02:00
Fix channels in poll results restoring.
This commit is contained in:
parent
cb4781360a
commit
b462d7627f
1 changed files with 1 additions and 4 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue