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

Method contains

Telegram/SourceFiles/boxes/connection_box.cpp:2262–2268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2260}
2261
2262bool ProxiesBoxController::contains(const ProxyData &proxy) const {
2263 const auto j = ranges::find(
2264 _list,
2265 proxy,
2266 [](const Item &item) { return item.data; });
2267 return (j != end(_list));
2268}
2269
2270void ProxiesBoxController::addNewItem(const ProxyData &proxy) {
2271 _settings.addToList(proxy);

Callers 15

ShowSpoilerFunction · 0.45
picker.jsFile · 0.45
applyChromeFunction · 0.45
renderMenuFunction · 0.45
page.jsFile · 0.45
GetEnhancedBoolFunction · 0.45
GetEnhancedIntFunction · 0.45
GetEnhancedStringFunction · 0.45
blockExistFunction · 0.45
requestDialogsMethod · 0.45
requestFullPeerMethod · 0.45

Calls

no outgoing calls

Tested by 1

testFunction · 0.36