mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02: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