2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Add top bar menu and notifications toggle.

This commit is contained in:
John Preston
2017-11-07 19:12:54 +04:00
parent 9743dc1ffb
commit 5f0ba48309
10 changed files with 201 additions and 70 deletions

View File

@@ -4525,9 +4525,6 @@ void MainWidget::applyNotifySetting(const MTPNotifyPeer &peer, const MTPPeerNoti
if (_history->peer() == updatePeer) {
_history->updateNotifySettings();
}
if (changed) {
Notify::peerUpdatedDelayed(updatePeer, Notify::PeerUpdate::Flag::NotificationsEnabled);
}
}
}