2 files changed, 1 insertions, 2 deletions
diff --git a/src/encryption/Olm.cpp b/src/encryption/Olm.cpp
index 157b9169..6c5044be 100644
--- a/src/encryption/Olm.cpp
+++ b/src/encryption/Olm.cpp
@@ -32,6 +32,7 @@ auto client_ = std::make_unique<mtx::crypto::OlmClient>();
std::map<std::string, std::string> request_id_to_secret_name;
constexpr auto MEGOLM_ALGO = "m.megolm.v1.aes-sha2";
+constexpr auto OLM_ALGO = "m.olm.v1.curve25519-aes-sha2";
}
namespace olm {
diff --git a/src/encryption/Olm.h b/src/encryption/Olm.h
index 55f7241d..a1ae5638 100644
--- a/src/encryption/Olm.h
+++ b/src/encryption/Olm.h
@@ -13,8 +13,6 @@
#include <CacheCryptoStructs.h>
-constexpr auto OLM_ALGO = "m.olm.v1.curve25519-aes-sha2";
-
namespace olm {
Q_NAMESPACE
|