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

when loading, try using main password for history

This commit is contained in:
Dubslow 2014-12-09 18:40:05 -06:00
parent 31c072d296
commit 09602731f7
No known key found for this signature in database
GPG Key ID: 3DB8E05315C220AA

View File

@ -196,6 +196,14 @@ void Core::checkEncryptedHistory()
else
dialogtxt = a;
if (pwsaltedkeys[ptMain])
{
useOtherPassword(ptHistory);
if (HistoryKeeper::checkPassword())
return;
clearPassword(ptHistory);
}
bool error = true;
do
{