From 6102c0a8b233055d514c90f7eadb615e9b4579f2 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Tue, 17 Sep 2019 11:03:30 -0700 Subject: [PATCH] ircd::m::room::events: Improve comment [skip ci]. --- include/ircd/m/room/events.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/include/ircd/m/room/events.h b/include/ircd/m/room/events.h index 285cc0909..55c0ce477 100644 --- a/include/ircd/m/room/events.h +++ b/include/ircd/m/room/events.h @@ -157,11 +157,9 @@ struct ircd::m::room::events::sounding }; /// Find missing room events. This is an interface to the event-horizon for -/// this room. -/// -/// The closure is invoked with the first argument being the event_id unknown -/// to the server, followed by the depth and event::idx of the event making the -/// reference. +/// this room. The event horizon is keyed by event_id and the value is the +/// event::idx of the event referencing it. There can be multiple entries for +/// an event_id. The closure is also invoked with the depth of the referencer. /// struct ircd::m::room::events::horizon {