aboutsummaryrefslogtreecommitdiff
path: root/lib/util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util.cpp')
-rw-r--r--lib/util.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/util.cpp b/lib/util.cpp
index 03ebf325..359b2959 100644
--- a/lib/util.cpp
+++ b/lib/util.cpp
@@ -135,3 +135,12 @@ int Quotient::patchVersion()
{
return Quotient_VERSION_PATCH;
}
+
+bool Quotient::encryptionSupported()
+{
+#ifdef Quotient_E2EE_ENABLED
+ return true;
+#else
+ return false;
+#endif
+}