aboutsummaryrefslogtreecommitdiff
path: root/events/roommemberevent.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-03-31 13:20:52 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-03-31 13:20:52 +0900
commit44764f015f25db307811f2969c117b37133fc676 (patch)
treee3d1a5c79886336c07fe5d9e5114d3b8d6fe6043 /events/roommemberevent.cpp
parenta95618af600c8c72c15ece48682ee6260de27aff (diff)
parente7868adbf5b275f66529fb2dae323ed8aeb69e05 (diff)
downloadlibquotient-44764f015f25db307811f2969c117b37133fc676.tar.gz
libquotient-44764f015f25db307811f2969c117b37133fc676.zip
Merge branch 'master' into kitsune-gtad
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())
{ }