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

Method peerUnselected

Telegram/SourceFiles/boxes/share_box.cpp:1482–1489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1480}
1481
1482void ShareBox::Inner::peerUnselected(not_null<PeerData*> peer) {
1483 if (const auto i = _dataMap.find(peer); i != end(_dataMap)) {
1484 changePeerCheckState(
1485 i->second.get(),
1486 false,
1487 ChangeStateWay::SkipCallback);
1488 }
1489}
1490
1491void ShareBox::Inner::setPeerSelectedChangedCallback(
1492 Fn<void(not_null<Data::Thread*> thread, bool selected)> callback) {

Callers 1

prepareMethod · 0.80

Calls 2

findMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected