From 1c3503f83427f4c37d32b8224c3a2db924b432f8 Mon Sep 17 00:00:00 2001 From: levlam Date: Sun, 17 Feb 2019 18:25:15 +0300 Subject: [PATCH] Do not copy local settings from ScopeChats to ScopeChannels. GitOrigin-RevId: 2c24d02ca35012a45e144f28035297ebbeddc85e --- td/telegram/MessagesManager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/td/telegram/MessagesManager.cpp b/td/telegram/MessagesManager.cpp index 01c86848..8deb1e8c 100644 --- a/td/telegram/MessagesManager.cpp +++ b/td/telegram/MessagesManager.cpp @@ -8806,6 +8806,8 @@ void MessagesManager::init() { } if (!channels_notification_settings_.is_synchronized) { channels_notification_settings_ = chats_notification_settings_; + channels_notification_settings_.disable_pinned_message_notifications = false; + channels_notification_settings_.disable_mention_notifications = false; channels_notification_settings_.is_synchronized = false; send_get_scope_notification_settings_query(NotificationSettingsScope::Channel, Promise<>()); }