mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Closed beta 1000014001: testing MTP changes.
Destroying of the authorization keys disabled for now.
This commit is contained in:
@@ -318,7 +318,8 @@ void Messenger::destroyStaleAuthorizationKeys() {
|
||||
|
||||
auto keys = _mtproto->getKeysForWrite();
|
||||
for (auto &key : keys) {
|
||||
if (key->type() == MTP::AuthKey::Type::ReadFromFile) {
|
||||
// Disable this for now.
|
||||
if (false && key->type() == MTP::AuthKey::Type::ReadFromFile) {
|
||||
_private->mtpKeysToDestroy = _mtproto->getKeysForWrite();
|
||||
_mtproto.reset();
|
||||
LOG(("MTP Info: destroying stale keys, count: %1").arg(_private->mtpKeysToDestroy.size()));
|
||||
|
Reference in New Issue
Block a user