mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-08 15:33:09 -06:00
More notes
This commit is contained in:
parent
5a2eb5bbb8
commit
da01bd3ce4
|
|
@ -98,5 +98,12 @@ func CreateRoom(req *http.Request) util.JSONResponse {
|
||||||
// This differs from Synapse slightly. Synapse would vary the ordering of 3-7
|
// This differs from Synapse slightly. Synapse would vary the ordering of 3-7
|
||||||
// depending on if those events were in "initial_state" or not. This made it
|
// depending on if those events were in "initial_state" or not. This made it
|
||||||
// harder to reason about, hence sticking to a strict static ordering.
|
// harder to reason about, hence sticking to a strict static ordering.
|
||||||
|
|
||||||
|
// f.e event:
|
||||||
|
// - validate required keys/types (EventValidator in synapse)
|
||||||
|
// - set additional keys (displayname/avatar_url for m.room.member)
|
||||||
|
// - set token(?) and txn id
|
||||||
|
// - then https://github.com/matrix-org/synapse/blob/v0.19.2/synapse/handlers/message.py#L419
|
||||||
|
|
||||||
return util.MessageResponse(404, "Not implemented yet")
|
return util.MessageResponse(404, "Not implemented yet")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue