Add session->appConfig() shortcut.

This commit is contained in:
John Preston
2024-03-29 15:30:50 +04:00
parent 3b5814edae
commit da7a796edb
35 changed files with 98 additions and 115 deletions
@@ -223,4 +223,10 @@ void AppConfig::dismissSuggestion(const QString &key) {
)).send();
}
bool AppConfig::newRequirePremiumFree() const {
return get<bool>(
u"new_noncontact_peers_require_premium_without_ownpremium"_q,
false);
}
} // namespace Main