aboutsummaryrefslogtreecommitdiff
path: root/lib/events/encryptionevent.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2019-07-07 19:32:34 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2019-08-09 10:18:37 +0900
commit27ca32a1e5a56e09b9cc1d94224d2831004dcf3d (patch)
treef2e8d19705a13e39bd9484d13098f323c8d30194 /lib/events/encryptionevent.cpp
parent7a5b359b8823646ce97cbaf05c251cb04c291466 (diff)
downloadlibquotient-27ca32a1e5a56e09b9cc1d94224d2831004dcf3d.tar.gz
libquotient-27ca32a1e5a56e09b9cc1d94224d2831004dcf3d.zip
Namespace: QMatrixClient -> Quotient (with back comp alias)
Diffstat (limited to 'lib/events/encryptionevent.cpp')
-rw-r--r--lib/events/encryptionevent.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/events/encryptionevent.cpp b/lib/events/encryptionevent.cpp
index 0c732a51..945e6696 100644
--- a/lib/events/encryptionevent.cpp
+++ b/lib/events/encryptionevent.cpp
@@ -12,10 +12,10 @@
#include <array>
static const std::array<QString, 1> encryptionStrings = {
- { QMatrixClient::MegolmV1AesSha2AlgoKey }
+ { Quotient::MegolmV1AesSha2AlgoKey }
};
-namespace QMatrixClient {
+namespace Quotient {
template <>
struct JsonConverter<EncryptionType> {
static EncryptionType load(const QJsonValue& jv)
@@ -32,7 +32,7 @@ struct JsonConverter<EncryptionType> {
};
} // namespace QMatrixClient
-using namespace QMatrixClient;
+using namespace Quotient;
EncryptionEventContent::EncryptionEventContent(const QJsonObject& json)
: encryption(fromJson<EncryptionType>(json["algorithm"_ls]))