Remove checked key property.

This commit is contained in:
John Preston
2019-11-15 09:43:44 +03:00
parent fe1e627cac
commit f37ab6e38e
2 changed files with 0 additions and 30 deletions
-10
View File
@@ -189,15 +189,6 @@ public:
}
void setKeyForCheck(const AuthKeyPtr &key);
bool isCheckedKey() const {
QReadLocker locker(&_lock);
return _keyChecked;
}
void setCheckedKey(bool checked) {
QWriteLocker locker(&_lock);
_keyChecked = checked;
}
QReadWriteLock *keyMutex() const;
not_null<QReadWriteLock*> toSendMutex() const {
@@ -297,7 +288,6 @@ private:
AuthKeyPtr _authKey;
AuthKeyPtr _dcKeyForCheck;
bool _keyChecked = false;
bool _layerInited = false;
ConnectionOptions _options;