mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Check appconfig start ref prefixes.
This commit is contained in:
@@ -48,6 +48,15 @@ int AppConfig::stargiftConvertPeriodMax() const {
|
||||
_account->mtp().isTestMode() ? 300 : (90 * 86400));
|
||||
}
|
||||
|
||||
const std::vector<QString> &AppConfig::startRefPrefixes() {
|
||||
if (_startRefPrefixes.empty()) {
|
||||
_startRefPrefixes = get<std::vector<QString>>(
|
||||
u"starref_start_param_prefixes"_q,
|
||||
std::vector<QString>());
|
||||
}
|
||||
return _startRefPrefixes;
|
||||
}
|
||||
|
||||
void AppConfig::refresh(bool force) {
|
||||
if (_requestId || !_api) {
|
||||
if (force) {
|
||||
|
Reference in New Issue
Block a user