diff --git a/content/rooms/fragments/v2-state-res.md b/content/rooms/fragments/v2-state-res.md index cd73e2ad..b2e94fea 100644 --- a/content/rooms/fragments/v2-state-res.md +++ b/content/rooms/fragments/v2-state-res.md @@ -90,11 +90,13 @@ event in its `auth_events`. The *mainline of P*0 is the list of events [*P*n , ... , *P*1, *P*0]. -Given another event *e*, the *closest mainline event to* -*e* is the first event encountered in the mainline when iteratively -descending through the `m.room.power_levels` events in the `auth_events` -starting at *e*. If no mainline event is encountered when iteratively -descending through the `m.room.power_levels` events, then the closest +Given another event *e* = *e0* we can compute a similar list of +`m.room.power_level` events + [*e*0, *e*1, ...], +where *e*j* + 1* is the `m.room.power_levels` event in the +`auth_events` of *ej*. The *closest mainline event to e* +is the first event *ej* which belongs to the mainline of *P*. +If no event *ej* belongs to the mainline of *P*, then the closest mainline event to *e* can be considered to be a dummy event that is before any other event in the mainline of *P* for the purposes of condition 1 below.