From 4e31b0371cea6441dc4281aaa28a9b693a751454 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Tue, 27 Feb 2018 11:40:03 +0900 Subject: MemberEventContent/RoomMemberEvent: parse and expose is_direct --- events/roommemberevent.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'events/roommemberevent.cpp') 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(json["membership"])) + , isDirect(json["is_direct"].toBool()) , displayName(json["displayname"].toString()) , avatarUrl(json["avatar_url"].toString()) { } -- cgit v1.2.3