mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-25 12:43:35 +00:00
Clarify event_id comment
This commit is contained in:
1 parent
812180f933
commit
3aa6fe8dd3
1 file changed
+2
-2
@@ -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()),
|
||||
|
||||
Reference in new issue
Block a user