aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.cpp
diff options
context:
space:
mode:
authorTobias Fella <fella@posteo.de>2021-08-31 00:48:23 +0200
committerTobias Fella <fella@posteo.de>2021-12-01 21:56:11 +0100
commita30d457161fcaadfe944e4411d4b0e487e856178 (patch)
treea89f24bf937c913b55f79833b258254f7406430a /lib/connection.cpp
parentd04543ba00335d87a872b0f0c8ff35c85301e096 (diff)
downloadlibquotient-a30d457161fcaadfe944e4411d4b0e487e856178.tar.gz
libquotient-a30d457161fcaadfe944e4411d4b0e487e856178.zip
Fix build without E2EE
Diffstat (limited to 'lib/connection.cpp')
-rw-r--r--lib/connection.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/connection.cpp b/lib/connection.cpp
index aaa17cdd..98686ed0 100644
--- a/lib/connection.cpp
+++ b/lib/connection.cpp
@@ -259,7 +259,9 @@ public:
Connection::Connection(const QUrl& server, QObject* parent)
: QObject(parent), d(new Private(std::make_unique<ConnectionData>(server)))
{
+#ifdef Quotient_E2EE_ENABLED
d->encryptionManager = new EncryptionManager(this);
+#endif
d->q = this; // All d initialization should occur before this line
}