mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Update API scheme to layer 78.
This commit is contained in:
@@ -1623,7 +1623,10 @@ void ApiWrap::requestNotifySetting(PeerData *peer) {
|
||||
notifySettingReceived(notifyPeer, result);
|
||||
_notifySettingRequests.remove(peer);
|
||||
}).fail([this, notifyPeer, peer](const RPCError &error) {
|
||||
notifySettingReceived(notifyPeer, MTP_peerNotifySettingsEmpty());
|
||||
notifySettingReceived(notifyPeer, MTP_peerNotifySettings(
|
||||
MTP_flags(MTPDpeerNotifySettings::Flag::f_show_previews),
|
||||
MTP_int(0),
|
||||
MTP_string("default")));
|
||||
_notifySettingRequests.remove(peer);
|
||||
}).send();
|
||||
|
||||
|
Reference in New Issue
Block a user