2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Update API scheme on layer 140.

This commit is contained in:
John Preston
2022-03-30 10:20:42 +04:00
parent b38ac32898
commit 00f442573a
5 changed files with 76 additions and 17 deletions

View File

@@ -3964,7 +3964,9 @@ void Session::resetNotifySettingsToDefault(not_null<PeerData*> peer) {
MTPBool(),
MTPBool(),
MTPint(),
MTPstring());
MTPNotificationSound(),
MTPNotificationSound(),
MTPNotificationSound());
if (peer->notifyChange(empty)) {
updateNotifySettingsLocal(peer);
_session->api().updateNotifySettingsDelayed(peer);