diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-08-06 12:01:22 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-08-06 12:01:22 +0900 |
commit | c0e75a52504a3d31bcca0d4c39745d4d6c1fe917 (patch) | |
tree | a739984cbedefebdeda610be7a97c127fe10b5e1 /lib/events/roommemberevent.h | |
parent | 8bd8aaf0858bb0a0ebcac8c3d29cfbb20279164d (diff) | |
download | libquotient-c0e75a52504a3d31bcca0d4c39745d4d6c1fe917.tar.gz libquotient-c0e75a52504a3d31bcca0d4c39745d4d6c1fe917.zip |
RoomMemberEvent: a set of is*() facility methods
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) |