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 9ebb75ee..358af257 100644
--- a/events/roommemberevent.h
+++ b/events/roommemberevent.h
@@ -28,6 +28,8 @@ namespace QMatrixClient
{
Q_GADGET
public:
+ static constexpr const char* TypeId = "m.room.member";
+
enum MembershipType : int {Invite = 0, Join, Knock, Leave, Ban};
explicit RoomMemberEvent(const QJsonObject& obj);