aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.cpp
diff options
context:
space:
mode:
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
}