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

Method settingsSelf

Telegram/SourceFiles/info/info_controller.cpp:106–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106UserData *Key::settingsSelf() const {
107 if (const auto tag = std::get_if<Settings::Tag>(&_value)) {
108 return tag->self;
109 }
110 return nullptr;
111}
112
113bool Key::isDownloads() const {
114 return v::is<Downloads::Tag>(_value);

Callers 3

activeChatMethod · 0.45
validateMementoPeerMethod · 0.45
WidgetMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected