diff options
author | Karol Kosek <krkkx@protonmail.com> | 2019-05-15 20:51:06 +0200 |
---|---|---|
committer | Karol Kosek <krkk@krkk.ct8.pl> | 2020-02-22 11:52:12 +0100 |
commit | 4f027cf952e2458d2301236d43b4c9fbcdba345b (patch) | |
tree | b2333184bf54f031a35704069c650599a9909d24 /lib/events/roommemberevent.h | |
parent | d3ca82b9d7477a35e7580f2d6ce579dcbf791d07 (diff) | |
download | libquotient-4f027cf952e2458d2301236d43b4c9fbcdba345b.tar.gz libquotient-4f027cf952e2458d2301236d43b4c9fbcdba345b.zip |
RoomMemberEvent: add isRejectedInvite(), isBan(), and isUnban()
Diffstat (limited to 'lib/events/roommemberevent.h')
-rw-r--r-- | lib/events/roommemberevent.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/events/roommemberevent.h b/lib/events/roommemberevent.h index 0ca439e1..783b8207 100644 --- a/lib/events/roommemberevent.h +++ b/lib/events/roommemberevent.h @@ -88,7 +88,10 @@ public: QUrl avatarUrl() const { return content().avatarUrl; } QString reason() const { return content().reason; } bool changesMembership() const; + bool isBan() const; + bool isUnban() const; bool isInvite() const; + bool isRejectedInvite() const; bool isJoin() const; bool isLeave() const; bool isRename() const; |