aboutsummaryrefslogtreecommitdiff
path: root/lib/olm/errors.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/olm/errors.cpp')
-rw-r--r--lib/olm/errors.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/olm/errors.cpp b/lib/olm/errors.cpp
index fce177c6..a687e807 100644
--- a/lib/olm/errors.cpp
+++ b/lib/olm/errors.cpp
@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: 2021 Carl Schwan <carlschwan@kde.org>
+// SPDX-License-Identifier: LGPL-2.1-or-later
+#ifdef Quotient_E2EE_ENABLED
#include "olm/errors.h"
Quotient::OlmError Quotient::fromString(const std::string &error_raw) {
@@ -15,3 +18,4 @@ Quotient::OlmError Quotient::fromString(const std::string &error_raw) {
return OlmError::Unknown;
}
}
+#endif