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

Method appendRow

Telegram/SourceFiles/boxes/peer_list_controllers.cpp:520–530  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

518}
519
520bool ChatsListBoxController::appendRow(not_null<History*> history) {
521 if (auto row = delegate()->peerListFindRow(history->peer->id.value)) {
522 updateRowHook(static_cast<Row*>(row));
523 return false;
524 }
525 if (auto row = createRow(history)) {
526 delegate()->peerListAppendRow(std::move(row));
527 return true;
528 }
529 return false;
530}
531
532PeerListStories::PeerListStories(
533 not_null<PeerListController*> controller,

Callers

nothing calls this directly

Calls 4

peerListFindRowMethod · 0.45
peerListAppendRowMethod · 0.45
getMethod · 0.45
processMethod · 0.45

Tested by

no test coverage detected