mirror of
https://github.com/matrix-construct/construct
synced 2024-05-28 15:53:46 +02:00
ircd:Ⓜ️:room: Additional ctor for event::fetch::opts ref.
This commit is contained in:
parent
b93348f6e1
commit
5fb1a6633d
|
@ -182,8 +182,11 @@ struct ircd::m::room
|
|||
const vm::copts *const &copts = nullptr,
|
||||
const event::fetch::opts *const &fopts = nullptr);
|
||||
|
||||
room(const id &room_id,
|
||||
const vm::copts *const &copts,
|
||||
const event::fetch::opts *const &fopts = nullptr) noexcept;
|
||||
|
||||
room(const id &room_id = {},
|
||||
const vm::copts *const &copts = nullptr,
|
||||
const event::fetch::opts *const &fopts = nullptr) noexcept;
|
||||
|
||||
// Index of create event
|
||||
|
@ -237,6 +240,14 @@ noexcept
|
|||
,fopts{fopts}
|
||||
{}
|
||||
|
||||
inline
|
||||
ircd::m::room::room(const id &room_id,
|
||||
const event::fetch::opts *const &fopts)
|
||||
noexcept
|
||||
:room_id{room_id}
|
||||
,fopts{fopts}
|
||||
{}
|
||||
|
||||
inline ircd::m::room::operator
|
||||
const ircd::m::room::id &()
|
||||
const
|
||||
|
|
Loading…
Reference in a new issue