0
0
Fork 0
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:
Jason Volk 2020-04-03 17:14:35 -07:00
parent dd9157315c
commit f941c52dee

View file

@ -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