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

Method currentlyHave

Telegram/SourceFiles/boxes/passcode_box.cpp:253–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251}
252
253bool PasscodeBox::currentlyHave() const {
254 return _cloudPwd
255 ? _cloudFields.hasPassword
256 : _session->domain().local().hasLocalPasscode();
257}
258
259bool PasscodeBox::onlyCheckCurrent() const {
260 return _turningOff || _cloudFields.customCheckCallback;

Callers

nothing calls this directly

Calls 1

hasLocalPasscodeMethod · 0.80

Tested by

no test coverage detected