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:
parent
31c072d296
commit
09602731f7
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user