mirror of
https://github.com/matrix-construct/construct
synced 2024-12-29 17:04:03 +01:00
ircd:Ⓜ️:append: Add some \briefs. [skip ci]
This commit is contained in:
parent
529cccbcf0
commit
fda4c9d0ce
1 changed files with 8 additions and 0 deletions
|
@ -11,6 +11,12 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#define HAVE_IRCD_M_EVENT_APPEND
|
#define HAVE_IRCD_M_EVENT_APPEND
|
||||||
|
|
||||||
|
/// Used when transmitting events to clients. This tries to hide and provide
|
||||||
|
/// as much boilerplate as possible which we abstracted from all of the
|
||||||
|
/// different locations where an event may be revealed to a client. This device
|
||||||
|
/// will add things like a client txnid, calculate and add an `unsigned.age`,
|
||||||
|
/// find and add the prev_state/prev_content for state events, etc.
|
||||||
|
///
|
||||||
struct ircd::m::event::append
|
struct ircd::m::event::append
|
||||||
:boolean
|
:boolean
|
||||||
{
|
{
|
||||||
|
@ -22,6 +28,8 @@ struct ircd::m::event::append
|
||||||
append(json::stack::array &, const event &);
|
append(json::stack::array &, const event &);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/// Provide as much information as you can apropos this event so the impl
|
||||||
|
/// can provide the best result.
|
||||||
struct ircd::m::event::append::opts
|
struct ircd::m::event::append::opts
|
||||||
{
|
{
|
||||||
const event::idx *event_idx {nullptr};
|
const event::idx *event_idx {nullptr};
|
||||||
|
|
Loading…
Reference in a new issue