mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Redesign auto download box.
This commit is contained in:
@@ -247,19 +247,9 @@ void Session::photoLoadSettingsChanged() {
|
||||
}
|
||||
}
|
||||
|
||||
void Session::voiceLoadSettingsChanged() {
|
||||
void Session::documentLoadSettingsChanged() {
|
||||
for (const auto &[id, document] : _documents) {
|
||||
if (document->isVoiceMessage()) {
|
||||
document->automaticLoadSettingsChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void Session::animationLoadSettingsChanged() {
|
||||
for (const auto &[id, document] : _documents) {
|
||||
if (document->isAnimation()) {
|
||||
document->automaticLoadSettingsChanged();
|
||||
}
|
||||
document->automaticLoadSettingsChanged();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user