mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 07:35:12 +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(
|
std::unique_ptr<PeerListRow> ListController::createRestoredRow(
|
||||||
not_null<PeerData*> peer) {
|
not_null<PeerData*> peer) {
|
||||||
if (const auto user = peer->asUser()) {
|
return createRow(peer);
|
||||||
return createRow(user);
|
|
||||||
}
|
|
||||||
return nullptr;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ListController::rowClicked(not_null<PeerListRow*> row) {
|
void ListController::rowClicked(not_null<PeerListRow*> row) {
|
||||||
|
Reference in New Issue
Block a user