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

Method rowClicked

Telegram/SourceFiles/boxes/peer_list_controllers.cpp:716–723  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

714}
715
716void ContactsBoxController::rowClicked(not_null<PeerListRow*> row) {
717 const auto peer = row->peer();
718 if (_stories && _stories->handleClick(peer)) {
719 return;
720 } else if (const auto window = peer->session().tryResolveWindow()) {
721 window->showPeerHistory(peer);
722 }
723}
724
725void ContactsBoxController::setSortMode(SortMode mode) {
726 if (_sortMode == mode) {

Callers

nothing calls this directly

Calls 15

tryResolveWindowMethod · 0.80
peerMethod · 0.45
handleClickMethod · 0.45
sessionMethod · 0.45
showPeerHistoryMethod · 0.45
forumMethod · 0.45
getMethod · 0.45
addButtonMethod · 0.45
destroyedMethod · 0.45
dataMethod · 0.45
showBoxMethod · 0.45
peerListUiShowMethod · 0.45

Tested by

no test coverage detected