auto create hushchat zaddr at contact request

This commit is contained in:
DenioD
2020-06-13 00:40:42 +02:00
parent da2ea0fbf5
commit 05004478d1
5 changed files with 28 additions and 32 deletions

View File

@@ -439,7 +439,7 @@ void AddressBook::readFromStorage()
in >> stuff;
//////////////found old addrbook, and rename it to .bak
if (version != "v2")
if (version == "v1")
{
auto filename = QStringLiteral("addresslabels.dat");
auto dir = QDir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation));