New notifications API, defaults for users/chats.

This commit is contained in:
John Preston 2018-04-09 21:48:29 +04:00
parent 4a8b6ff5ba
commit 44b551898d
3 changed files with 3 additions and 3 deletions

View File

@ -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<SecureValue>;
account.getSecureValue#73665bc2 types:Vector<SecureValueType> = Vector<SecureValue>;
account.saveSecureValue#899fe31d value:InputSecureValue secure_secret_id:long = SecureValue;
account.deleteSecureValue#b880bc4b types:Vector<SecureValueType> = Bool;

View File

@ -164,7 +164,6 @@ private:
Scope *_editScope = nullptr;
const Value *_editValue = nullptr;
const Value *_editDocument = nullptr;
int _editDocumentIndex = -1;
BoxPointer _scopeDocumentTypeBox;
std::map<not_null<const Value*>, BoxPointer> _verificationBoxes;

View File

@ -96,8 +96,8 @@ void SuggestPhotoFile(
template <typename Callback>
void ShowChoosePhotoBox(
QPointer<QWidget> parent,
PeerId peerForCrop,
QPointer<QWidget> parent,
PeerId peerForCrop,
Callback &&callback) {
auto imgExtensions = cImgExtensions();
auto filter = qsl("Image files (*")