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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user