mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-04 08:25:38 +00:00
Respect the maximum quote length.
This commit is contained in:
@@ -38,6 +38,10 @@ void AppConfig::start() {
|
||||
}, _lifetime);
|
||||
}
|
||||
|
||||
int AppConfig::quoteLengthMax() const {
|
||||
return get<int>(u"quote_length_max"_q, 1024);
|
||||
}
|
||||
|
||||
void AppConfig::refresh(bool force) {
|
||||
if (_requestId || !_api) {
|
||||
if (force) {
|
||||
|
Reference in New Issue
Block a user