mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
ircd:Ⓜ️ Fix type of membership_positive/membership_negative convenience vectors.
This commit is contained in:
parent
dd9157315c
commit
f941c52dee
1 changed files with 3 additions and 2 deletions
|
@ -40,8 +40,9 @@ namespace ircd::m
|
|||
bool membership(const event::idx &, const vector_view<const string_view> &);
|
||||
bool membership(const room &, const id::user &, const vector_view<const string_view> &);
|
||||
|
||||
extern const vector_view<const string_view> membership_positive; // join, invite
|
||||
extern const vector_view<const string_view> membership_negative; // leave, ban, [non-membership]
|
||||
// Convenience definitions of membership states for atomic queries.
|
||||
extern const std::initializer_list<const string_view> membership_positive; // join, invite
|
||||
extern const std::initializer_list<const string_view> membership_negative; // leave, ban, [non-membership]
|
||||
}
|
||||
|
||||
inline bool
|
||||
|
|
Loading…
Reference in a new issue