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

Method value

Telegram/SourceFiles/api/api_user_privacy.cpp:337–343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

335}
336
337auto UserPrivacy::value(Key key) -> rpl::producer<UserPrivacy::Rule> {
338 if (const auto i = _privacyValues.find(key); i != end(_privacyValues)) {
339 return _privacyChanges[key].events_starting_with_copy(i->second);
340 } else {
341 return _privacyChanges[key].events();
342 }
343}
344
345} // namespace Api

Callers 15

enabledMethod · 0.45
canChangeMethod · 0.45
AiApplyBoundSlugFunction · 0.45
messagesFromMethod · 0.45
pollVotesFromMethod · 0.45
showPreviewsMethod · 0.45
enabledMethod · 0.45
ConfirmApprovalFunction · 0.45
daysAccountTTLMethod · 0.45
ConfirmSubscriptionBoxFunction · 0.45
isIdleValueMethod · 0.45

Calls 2

findMethod · 0.45
eventsMethod · 0.45

Tested by

no test coverage detected