0
0
Fork 0
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:
Jason Volk 2023-02-17 17:05:11 -08:00
parent b93348f6e1
commit 5fb1a6633d

View file

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