mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
New structs for media autodownload settings.
This commit is contained in:
@@ -43,14 +43,14 @@ namespace {
|
||||
constexpr str_const kDefaultCountry = "US";
|
||||
|
||||
void PrepareSupportMode() {
|
||||
using Data::AutoDownload::Full;
|
||||
|
||||
anim::SetDisabled(true);
|
||||
Local::writeSettings();
|
||||
|
||||
Global::SetDesktopNotify(false);
|
||||
Global::SetSoundNotify(false);
|
||||
cSetAutoDownloadAudio(dbiadNoPrivate | dbiadNoGroups);
|
||||
cSetAutoDownloadGif(dbiadNoPrivate | dbiadNoGroups);
|
||||
cSetAutoDownloadPhoto(dbiadNoPrivate | dbiadNoGroups);
|
||||
Auth().settings().autoDownload() = Full::FullDisabled();
|
||||
cSetAutoPlayGif(false);
|
||||
Local::writeUserSettings();
|
||||
}
|
||||
|
Reference in New Issue
Block a user