aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/connection.cpp')
-rw-r--r--lib/connection.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/connection.cpp b/lib/connection.cpp
index 98686ed0..4a220e0d 100644
--- a/lib/connection.cpp
+++ b/lib/connection.cpp
@@ -464,6 +464,7 @@ void Connection::Private::completeSetup(const QString& mxId)
AccountSettings(data->userId()).setEncryptionAccountPickle(std::get<QByteArray>(pickle));
//TODO handle errors
});
+ encryptionManager = new EncryptionManager(q);
if (accountSettings.encryptionAccountPickle().isEmpty()) {
// create new account and save unpickle data
@@ -1891,9 +1892,9 @@ void Connection::Private::saveDevicesList()
QFile outFile { q->stateCacheDir().filePath("deviceslist.json") };
if (!outFile.open(QFile::WriteOnly)) {
- qCWarning(MAIN) << "Error opening" << outFile.fileName() << ":"
+ qCWarning(E2EE) << "Error opening" << outFile.fileName() << ":"
<< outFile.errorString();
- qCWarning(MAIN) << "Caching the rooms state disabled";
+ qCWarning(E2EE) << "Caching the rooms state disabled";
cacheState = false;
return;
}