aboutsummaryrefslogtreecommitdiff
path: root/lib/encryptionmanager.cpp
diff options
context:
space:
mode:
authorAlexey Andreev <aa13q@ya.ru>2020-02-25 20:06:19 +0300
committerAlexey Andreev <aa13q@ya.ru>2020-03-12 17:11:03 +0300
commit56d9a0addaabf2cec78e1c82a9846997a3669736 (patch)
tree2f4ccea66fd69d718356f678c4279a29151b2a5c /lib/encryptionmanager.cpp
parent8ff15ee94fc39eef1279d479d12b1cbdec9f4ac5 (diff)
downloadlibquotient-56d9a0addaabf2cec78e1c82a9846997a3669736.tar.gz
libquotient-56d9a0addaabf2cec78e1c82a9846997a3669736.zip
E2EE: Make building E2EE optional. Contributes to #369
Signed-off-by: Alexey Andreev <aa13q@ya.ru>
Diffstat (limited to 'lib/encryptionmanager.cpp')
-rw-r--r--lib/encryptionmanager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/encryptionmanager.cpp b/lib/encryptionmanager.cpp
index e2834c45..0895fae9 100644
--- a/lib/encryptionmanager.cpp
+++ b/lib/encryptionmanager.cpp
@@ -1,3 +1,4 @@
+#ifdef Quotient_E2EE_ENABLED
#include "encryptionmanager.h"
#include "connection.h"
@@ -366,3 +367,4 @@ bool EncryptionManager::Private::oneTimeKeyShouldUpload()
}
return false;
}
+#endif // Quotient_E2EE_ENABLED