From 44b551898d58a99cf049e3047148d0afc44c5945 Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 9 Apr 2018 21:48:29 +0400 Subject: [PATCH] New notifications API, defaults for users/chats. --- Telegram/Resources/scheme.tl | 1 + Telegram/SourceFiles/passport/passport_panel_controller.h | 1 - Telegram/SourceFiles/ui/special_buttons.cpp | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Telegram/Resources/scheme.tl b/Telegram/Resources/scheme.tl index 5fe56ee2b..1e59f42e7 100644 --- a/Telegram/Resources/scheme.tl +++ b/Telegram/Resources/scheme.tl @@ -1064,6 +1064,7 @@ account.getTmpPassword#4a82327e password_hash:bytes period:int = account.TmpPass account.getWebAuthorizations#182e6d6f = account.WebAuthorizations; account.resetWebAuthorization#2d01b9ef hash:long = Bool; account.resetWebAuthorizations#682d2594 = Bool; +account.getAllSecureValues#b288bc7d = Vector; account.getSecureValue#73665bc2 types:Vector = Vector; account.saveSecureValue#899fe31d value:InputSecureValue secure_secret_id:long = SecureValue; account.deleteSecureValue#b880bc4b types:Vector = Bool; diff --git a/Telegram/SourceFiles/passport/passport_panel_controller.h b/Telegram/SourceFiles/passport/passport_panel_controller.h index cd054edd6..a685e94f9 100644 --- a/Telegram/SourceFiles/passport/passport_panel_controller.h +++ b/Telegram/SourceFiles/passport/passport_panel_controller.h @@ -164,7 +164,6 @@ private: Scope *_editScope = nullptr; const Value *_editValue = nullptr; const Value *_editDocument = nullptr; - int _editDocumentIndex = -1; BoxPointer _scopeDocumentTypeBox; std::map, BoxPointer> _verificationBoxes; diff --git a/Telegram/SourceFiles/ui/special_buttons.cpp b/Telegram/SourceFiles/ui/special_buttons.cpp index 6bab38115..c60db0bad 100644 --- a/Telegram/SourceFiles/ui/special_buttons.cpp +++ b/Telegram/SourceFiles/ui/special_buttons.cpp @@ -96,8 +96,8 @@ void SuggestPhotoFile( template void ShowChoosePhotoBox( - QPointer parent, - PeerId peerForCrop, + QPointer parent, + PeerId peerForCrop, Callback &&callback) { auto imgExtensions = cImgExtensions(); auto filter = qsl("Image files (*")