MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / createSearchRow

Method createSearchRow

Telegram/SourceFiles/boxes/peer_list_box.cpp:450–456  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

448}
449
450std::unique_ptr<PeerListRow> PeerListController::createSearchRow(
451 PeerListRowId id) {
452 if (const auto peer = session().data().peerLoaded(PeerId(id))) {
453 return createSearchRow(peer);
454 }
455 return nullptr;
456}
457
458std::unique_ptr<PeerListState> PeerListController::saveState() const {
459 return delegate()->peerListSaveState();

Callers 1

restoreStateMethod · 0.45

Calls 3

PeerIdClass · 0.85
peerLoadedMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected