aboutsummaryrefslogtreecommitdiff
path: root/lib/joinstate.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-08-11 18:11:10 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-08-11 18:11:10 +0900
commit20b95b66b2cc0c8f69800570c3b1f0bc4aa413cf (patch)
tree6b5f7307e19a611546c7c2127d2d82d94f9cdcf7 /lib/joinstate.h
parent4442a820c8617fbb5352c44456105c0571143f58 (diff)
downloadlibquotient-20b95b66b2cc0c8f69800570c3b1f0bc4aa413cf.tar.gz
libquotient-20b95b66b2cc0c8f69800570c3b1f0bc4aa413cf.zip
JoinStates: add JoinState::Any to match any state
Diffstat (limited to 'lib/joinstate.h')
-rw-r--r--lib/joinstate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/joinstate.h b/lib/joinstate.h
index 42613895..19ce870b 100644
--- a/lib/joinstate.h
+++ b/lib/joinstate.h
@@ -28,7 +28,8 @@ namespace QMatrixClient
{
Join = 0x1,
Invite = 0x2,
- Leave = 0x4
+ Leave = 0x4,
+ Any = Join|Invite|Leave,
};
Q_DECLARE_FLAGS(JoinStates, JoinState)