aboutsummaryrefslogtreecommitdiff
path: root/events/roommemberevent.h
diff options
context:
space:
mode:
Diffstat (limited to 'events/roommemberevent.h')
-rw-r--r--events/roommemberevent.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/events/roommemberevent.h b/events/roommemberevent.h
index b9ff0d70..89b970c9 100644
--- a/events/roommemberevent.h
+++ b/events/roommemberevent.h
@@ -38,6 +38,7 @@ namespace QMatrixClient
explicit MemberEventContent(const QJsonObject& json);
MembershipType membership;
+ bool isDirect = false;
QString displayName;
QUrl avatarUrl;
@@ -66,6 +67,7 @@ namespace QMatrixClient
MembershipType membership() const { return content().membership; }
QString userId() const
{ return originalJsonObject().value("state_key").toString(); }
+ bool isDirect() const { return content().isDirect; }
QString displayName() const { return content().displayName; }
QUrl avatarUrl() const { return content().avatarUrl; }