| 714 | } |
| 715 | |
| 716 | void 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 | |
| 725 | void ContactsBoxController::setSortMode(SortMode mode) { |
| 726 | if (_sortMode == mode) { |
nothing calls this directly
no test coverage detected