diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-07-07 19:32:34 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-08-09 10:18:37 +0900 |
commit | 27ca32a1e5a56e09b9cc1d94224d2831004dcf3d (patch) | |
tree | f2e8d19705a13e39bd9484d13098f323c8d30194 /lib/events/roommemberevent.cpp | |
parent | 7a5b359b8823646ce97cbaf05c251cb04c291466 (diff) | |
download | libquotient-27ca32a1e5a56e09b9cc1d94224d2831004dcf3d.tar.gz libquotient-27ca32a1e5a56e09b9cc1d94224d2831004dcf3d.zip |
Namespace: QMatrixClient -> Quotient (with back comp alias)
Diffstat (limited to 'lib/events/roommemberevent.cpp')
-rw-r--r-- | lib/events/roommemberevent.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/events/roommemberevent.cpp b/lib/events/roommemberevent.cpp index 3cbf6685..d0787170 100644 --- a/lib/events/roommemberevent.cpp +++ b/lib/events/roommemberevent.cpp @@ -28,7 +28,7 @@ static const std::array<QString, 5> membershipStrings = { QStringLiteral("leave"), QStringLiteral("ban") } }; -namespace QMatrixClient { +namespace Quotient { template <> struct JsonConverter<MembershipType> { static MembershipType load(const QJsonValue& jv) @@ -43,9 +43,9 @@ struct JsonConverter<MembershipType> { return MembershipType::Undefined; } }; -} // namespace QMatrixClient +} // namespace Quotient -using namespace QMatrixClient; +using namespace Quotient; MemberEventContent::MemberEventContent(const QJsonObject& json) : membership(fromJson<MembershipType>(json["membership"_ls])) |