Skip to content

Commit e5c8fca

Browse files
authored
Adapted the lastest JSON signature from MSC4195 for SFURequest (#176)
* adapted the lastest JSON signature from MSC4195 for SFURequest
1 parent 961abd9 commit e5c8fca

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

main.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,12 @@ type SFURequest struct {
6969
SlotID string `json:"slot_id"`
7070
OpenIDToken OpenIDTokenType `json:"openid_token"`
7171
Member MatrixRTCMemberType `json:"member"`
72-
DelayedEventID string `json:"delayed_event_id"`
73-
}
72+
// Note, proper parsing and handling of the additional information needed for the
73+
// delegation of the MatrixRTC member leave event is part of
74+
// PR#171. For now we "only" provide the JSON signature.
75+
DelayId string `json:"delay_id,omitempty"`
76+
DelayTimeout int `json:"delay_timeout,omitempty"`
77+
DelayCsApiUrl string `json:"delay_cs_api_url,omitempty"`}
7478
type SFUResponse struct {
7579
URL string `json:"url"`
7680
JWT string `json:"jwt"`

0 commit comments

Comments
 (0)