0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 02:02:38 +01:00

ircd:Ⓜ️ Various cleanup.

This commit is contained in:
Jason Volk 2019-01-08 14:49:42 -08:00
parent f9ec33916c
commit 32aa9b4833
2 changed files with 2 additions and 1 deletions

View file

@ -69,9 +69,9 @@ struct ircd::m::room
void get(const string_view &type, const string_view &state_key, const event::closure &) const;
// Convenience passthru to room::messages (linear query)
bool has(const string_view &type) const;
bool get(std::nothrow_t, const string_view &type, const event::closure &) const;
void get(const string_view &type, const event::closure &) const;
bool has(const string_view &type) const;
// misc / convenience utils
bool membership(const m::id::user &, const string_view &membership = "join") const;

View file

@ -87,6 +87,7 @@ struct ircd::m::user::room
m::user user;
id::room::buf room_id;
explicit
room(const m::user &user,
const vm::copts *const & = nullptr,
const event::fetch::opts *const & = nullptr);