Clarify event_id comment

This commit is contained in:
Erik Johnston authored and Erik Johnston committed 2026-06-22 10:59:24 +01:00
1 parent 812180f933
commit 3aa6fe8dd3
1 file changed
+2 -2
+2 -2
View File
@@ -461,8 +461,8 @@ fn serialize_event_value(
}
};
// Always include the event_id field, for room version v3+ these aren't in
// the event JSON.
// Always include the `event_id` field in a client event. For room version
// v3+, these aren't in the PDU event JSON.
d.insert(
EVENT_ID.to_owned(),
Value::String(event.event_id().to_owned()),