diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-09-15 17:22:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-15 17:22:56 +0200 |
commit | 88a51b85935d4de6c4bd58b6ece5d498241465fc (patch) | |
tree | 3037646a06e50e3c4dedf8ac64a498e04e2b84d4 /lib/quotient_common.h | |
parent | a76ed82eb298d30c7b654c74378f93a9a35580a6 (diff) | |
parent | 59c9ca720093f2931c2eee1c0d5806d7e2e0c85f (diff) | |
download | libquotient-88a51b85935d4de6c4bd58b6ece5d498241465fc.tar.gz libquotient-88a51b85935d4de6c4bd58b6ece5d498241465fc.zip |
Merge pull request #507 from TobiasFella/roomcreationtypes
Add room types to RoomCreateEvent
Diffstat (limited to 'lib/quotient_common.h')
-rw-r--r-- | lib/quotient_common.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/quotient_common.h b/lib/quotient_common.h index bb2e6a6b..4444a111 100644 --- a/lib/quotient_common.h +++ b/lib/quotient_common.h @@ -88,6 +88,16 @@ enum UriResolveResult : short { }; Q_ENUM_NS(UriResolveResult) +enum RoomType { + Space, + Undefined, +}; +Q_ENUM_NS(RoomType); + +constexpr inline auto RoomTypeStrings = make_array( + "m.space" +); + } // namespace Quotient Q_DECLARE_OPERATORS_FOR_FLAGS(Quotient::MembershipMask) Q_DECLARE_OPERATORS_FOR_FLAGS(Quotient::JoinStates) |