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:
parent
dccb0a9951
commit
4c85f92e7d
|
@ -92,6 +92,7 @@ bool PrivacyForm::setChatLogsPassword()
|
||||||
// tr("Would you like to re-encrypt your old chat logs?\nOtherwise they will be deleted.", "body")))
|
// 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?
|
// for now, don't bother asking. Why wouldn't you want to reencrypt?
|
||||||
|
|
||||||
|
Settings::getInstance().setEncryptLogs(true);
|
||||||
HistoryKeeper::getInstance()->importMessages(oldMessages);
|
HistoryKeeper::getInstance()->importMessages(oldMessages);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user