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

Method createSearchRow

Telegram/SourceFiles/boxes/peer_list_controllers.cpp:515–518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

513}
514
515std::unique_ptr<PeerListRow> ChatsListBoxController::createSearchRow(
516 not_null<PeerData*> peer) {
517 return createRow(peer->owner().history(peer));
518}
519
520bool ChatsListBoxController::appendRow(not_null<History*> history) {
521 if (auto row = delegate()->peerListFindRow(history->peer->id.value)) {

Callers

nothing calls this directly

Calls 12

PeerIdClass · 0.85
asUserMethod · 0.80
topicForMethod · 0.80
sublistLoadedMethod · 0.80
sublistPeerMethod · 0.80
setCustomStatusMethod · 0.80
MsgIdClass · 0.50
QStringClass · 0.50
historyMethod · 0.45
ownerMethod · 0.45
peerMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected