2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Add archive and mute settings editing.

This commit is contained in:
John Preston
2020-07-03 20:53:24 +04:00
parent 060fe6a928
commit 3aea9cb3ca
10 changed files with 243 additions and 6 deletions

View File

@@ -30,6 +30,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "main/main_account.h"
#include "main/main_app_config.h"
#include "apiwrap.h"
#include "api/api_sensitive_content.h"
#include "api/api_global_privacy.h"
#include "window/window_session_controller.h"
#include "core/file_utilities.h"
#include "base/call_delayed.h"
@@ -373,6 +375,8 @@ void Main::setupContent(not_null<Window::SessionController*> controller) {
// If we load this in advance it won't jump when we open its' section.
controller->session().api().reloadPasswordState();
controller->session().api().reloadContactSignupSilent();
controller->session().api().sensitiveContent().reload();
controller->session().api().globalPrivacy().reload();
controller->session().data().cloudThemes().refresh();
}