diff --git a/changelogs/server_server/newsfragments/3340.clarification b/changelogs/server_server/newsfragments/3340.clarification new file mode 100644 index 00000000..8128a223 --- /dev/null +++ b/changelogs/server_server/newsfragments/3340.clarification @@ -0,0 +1 @@ +Tweak the example PDU diagram to better demonstrate situations with multiple `prev_events`. diff --git a/content/server-server-api.md b/content/server-server-api.md index 763c0e68..9c6552ab 100644 --- a/content/server-server-api.md +++ b/content/server-server-api.md @@ -333,15 +333,16 @@ after all other known events. For example, consider a room whose events form the DAG shown below. A server creating a new event in this room should populate the new event's -`prev_events` field with `E4` and `E5`, since neither event yet has a -child: +`prev_events` field with both `E4` and `E6`, since neither event yet has +a child: E1 ^ | - +-> E2 <-+ - | | - E3 E5 + E2 <--- E5 + ^ ^ + | | + E3 E6 ^ | E4