mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Refactor NotifySettings in PeerData.
This commit is contained in:
@@ -1487,7 +1487,10 @@ void DialogsInner::dialogsReceived(const QVector<MTPDialog> &added) {
|
||||
}
|
||||
}
|
||||
}
|
||||
App::main()->applyNotifySetting(MTP_notifyPeer(d.vpeer), d.vnotify_settings, history);
|
||||
App::main()->applyNotifySetting(
|
||||
MTP_notifyPeer(d.vpeer),
|
||||
d.vnotify_settings,
|
||||
history);
|
||||
|
||||
if (!history->isPinnedDialog() && !history->lastMsgDate.isNull()) {
|
||||
addSavedPeersAfter(history->lastMsgDate);
|
||||
|
Reference in New Issue
Block a user