set passphrase on initial install #64

This commit is contained in:
DenioD
2020-06-08 21:50:58 +02:00
parent e8f987dae4
commit c5c3eab002
10 changed files with 207 additions and 77 deletions

View File

@@ -33,6 +33,18 @@ ChatItem ChatDataStore::getData(QString key)
return this->data[key];
}
QString ChatDataStore::getPassword()
{
return _password;
}
void ChatDataStore::setPassword(QString password)
{
_password = password;
}
QString ChatDataStore::dump()
{
json chats;