matrix-org / matrix-spec

The Matrix protocol specification
Apache License 2.0
194 stars 96 forks source link

Sending invites over federation is badly specified #800

Open jplatte opened 3 years ago

jplatte commented 3 years ago

Link to problem area: https://matrix.org/docs/spec/server_server/r0.1.4#put-matrix-federation-v2-invite-roomid-eventid

Issue

The PUT /_matrix/federation/v2/ route (and v1 too) define a type Invite Event that doesn't have any of the expected PDU fields that should be there.

Expected behaviour

The type should be renamed to Invite PDU or Invite Event PDU and the missing fields added (for the v1 endpoint, the request fields probably have to be updated too).

turt2live commented 2 years ago

Related: https://github.com/matrix-org/matrix-spec/issues/1090