mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-01 09:55:24 +00:00
Moved out data of notify settings to separated module.
This commit is contained in:
@@ -17,6 +17,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "mtproto/mtp_instance.h"
|
||||
#include "mtproto/mtproto_config.h"
|
||||
#include "mtproto/mtproto_dc_options.h"
|
||||
#include "data/notify/data_notify_settings.h"
|
||||
#include "data/stickers/data_stickers.h"
|
||||
#include "data/data_session.h"
|
||||
#include "data/data_user.h"
|
||||
@@ -1906,7 +1907,9 @@ void Updates::feedUpdate(const MTPUpdate &update) {
|
||||
|
||||
case mtpc_updateNotifySettings: {
|
||||
auto &d = update.c_updateNotifySettings();
|
||||
session().data().applyNotifySetting(d.vpeer(), d.vnotify_settings());
|
||||
session().data().notifySettings().applyNotifySetting(
|
||||
d.vpeer(),
|
||||
d.vnotify_settings());
|
||||
} break;
|
||||
|
||||
case mtpc_updateDcOptions: {
|
||||
|
||||
Reference in New Issue
Block a user