Remove reason from reject event

I confused myself, but it's not in the MSC and it shouldn't be.
pull/1511/head
David Baker 3 years ago
parent ffa0a6f13b
commit a5c9911f60

@ -11,7 +11,8 @@ description: |
the callee sends an `m.call.hangup` event. If the calling user chooses to end the the callee sends an `m.call.hangup` event. If the calling user chooses to end the
call before setup is complete, the client sends `m.call.hangup` as previously. call before setup is complete, the client sends `m.call.hangup` as previously.
The meanings of the `reason` codes are the same as in [`m.call.hangup`](#mcallhangup). Note that, unlike `m.call.hangup`, this event has no `reason` field: the rejection of
a call is always implicitly because the user chose not to answer it.
allOf: allOf:
- "$ref": core-event-schema/room_event.yaml - "$ref": core-event-schema/room_event.yaml
properties: properties:
@ -19,22 +20,6 @@ properties:
type: object type: object
allOf: allOf:
- "$ref": core-event-schema/call_event.yaml - "$ref": core-event-schema/call_event.yaml
properties:
reason:
type: string
description: Reason for the hangup. Note that this was optional in
previous previous versions of the spec, so a missing value should be
treated as `user_hangup`.
enum:
- ice_timeout
- ice_failed
- invite_timeout
- user_hangup
- user_media_failed
- user_busy
- unknown_error
required:
- reason
type: type:
type: string type: string
enum: enum:

Loading…
Cancel
Save