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

Method canChange

Telegram/SourceFiles/api/api_sensitive_content.cpp:92–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92rpl::producer<bool> SensitiveContent::canChange() const {
93 return _canChange.value();
94}
95
96void SensitiveContent::update(bool enabled) {
97 if (!_canChange.current()) {

Callers 2

SetupSensitiveContentFunction · 0.80
ShowSensitiveConfirmFunction · 0.80

Calls 1

valueMethod · 0.45

Tested by

no test coverage detected