diff options
Diffstat (limited to 'lib/events/roommemberevent.h')
-rw-r--r-- | lib/events/roommemberevent.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/events/roommemberevent.h b/lib/events/roommemberevent.h index f3e4f53a..db25d026 100644 --- a/lib/events/roommemberevent.h +++ b/lib/events/roommemberevent.h @@ -75,6 +75,11 @@ namespace QMatrixClient bool isDirect() const { return content().isDirect; } QString displayName() const { return content().displayName; } QUrl avatarUrl() const { return content().avatarUrl; } + bool isInvite() const; + bool isJoin() const; + bool isLeave() const; + bool isRename() const; + bool isAvatarUpdate() const; private: REGISTER_ENUM(MembershipType) |