diff options
author | Tobias Fella <fella@posteo.de> | 2021-08-31 00:48:23 +0200 |
---|---|---|
committer | Tobias Fella <fella@posteo.de> | 2021-12-01 21:56:11 +0100 |
commit | a30d457161fcaadfe944e4411d4b0e487e856178 (patch) | |
tree | a89f24bf937c913b55f79833b258254f7406430a /lib/connection.cpp | |
parent | d04543ba00335d87a872b0f0c8ff35c85301e096 (diff) | |
download | libquotient-a30d457161fcaadfe944e4411d4b0e487e856178.tar.gz libquotient-a30d457161fcaadfe944e4411d4b0e487e856178.zip |
Fix build without E2EE
Diffstat (limited to 'lib/connection.cpp')
-rw-r--r-- | lib/connection.cpp | 2 |
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 } |