1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

plain db encryption

This commit is contained in:
apprb 2014-12-04 23:44:45 +06:00
parent dccb0a9951
commit 4c85f92e7d
No known key found for this signature in database
GPG Key ID: B001911B5B22FB9B

View File

@ -92,6 +92,7 @@ bool PrivacyForm::setChatLogsPassword()
// tr("Would you like to re-encrypt your old chat logs?\nOtherwise they will be deleted.", "body")))
// for now, don't bother asking. Why wouldn't you want to reencrypt?
Settings::getInstance().setEncryptLogs(true);
HistoryKeeper::getInstance()->importMessages(oldMessages);
return true;