Do not copy local settings from ScopeChats to ScopeChannels.

GitOrigin-RevId: 2c24d02ca35012a45e144f28035297ebbeddc85e
This commit is contained in:
levlam 2019-02-17 18:25:15 +03:00
parent 0d1be06cae
commit 1c3503f834

View File

@ -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<>());
}