2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-04 00:15:42 +00:00

Take rating info url from appConfig.

This commit is contained in:
John Preston
2025-07-21 09:17:06 +04:00
parent a81b9344cf
commit 20ce2ead75
6 changed files with 23 additions and 3 deletions

View File

@@ -232,6 +232,12 @@ QString AppConfig::ageVerifyBotUsername() const {
return get<QString>(u"verify_age_bot_username"_q, QString());
}
QString AppConfig::starsRatingLearnMoreUrl() const {
return get<QString>(
u"stars_rating_learnmore_url"_q,
u"https://telegram.org/blog"_q);
}
void AppConfig::refresh(bool force) {
if (_requestId || !_api) {
if (force) {