aboutsummaryrefslogtreecommitdiff
path: root/events/roommemberevent.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-03-24 16:29:00 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-03-24 16:29:00 +0900
commit6b960db9b33efe6f6a014aed08b9177a2ba201f8 (patch)
tree95c54ee17a7da4ad738ebeb6f85d86cec6ed14f5 /events/roommemberevent.cpp
parenta5428e53525afbc6fe6f697edb4f742d84c9ae0c (diff)
parent47cb949973a05cea6fb3a13ffd19b6e07e7720ae (diff)
downloadlibquotient-6b960db9b33efe6f6a014aed08b9177a2ba201f8.tar.gz
libquotient-6b960db9b33efe6f6a014aed08b9177a2ba201f8.zip
Merge branch 'kitsune-direct-chats'
Diffstat (limited to 'events/roommemberevent.cpp')
-rw-r--r--events/roommemberevent.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/events/roommemberevent.cpp b/events/roommemberevent.cpp
index a9e301a4..76b003c2 100644
--- a/events/roommemberevent.cpp
+++ b/events/roommemberevent.cpp
@@ -51,6 +51,7 @@ namespace QMatrixClient
MemberEventContent::MemberEventContent(const QJsonObject& json)
: membership(fromJson<MembershipType>(json["membership"]))
+ , isDirect(json["is_direct"].toBool())
, displayName(json["displayname"].toString())
, avatarUrl(json["avatar_url"].toString())
{ }