diff --git a/Telegram/Resources/scheme.tl b/Telegram/Resources/scheme.tl index 5fe56ee2ba..1e59f42e7a 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 cd054edd63..a685e94f97 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 6bab381151..c60db0bad6 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 (*")