mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-12 09:23:09 -06:00
Fix URLs to the spec in comments
This commit is contained in:
parent
c207c5859e
commit
d8a840cd1d
|
|
@ -29,7 +29,7 @@ type MemberContent struct {
|
||||||
// TODO: ThirdPartyInvite string `json:"third_party_invite,omitempty"`
|
// TODO: ThirdPartyInvite string `json:"third_party_invite,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// ThirdPartyInviteContent is the content event for https://matrix.org/speculator/spec/HEAD/client_server/unstable.html#m-room-third-party-invite
|
// ThirdPartyInviteContent is the content event for https://matrix.org/docs/spec/client_server/r0.2.0.html#m-room-third-party-invite
|
||||||
type ThirdPartyInviteContent struct {
|
type ThirdPartyInviteContent struct {
|
||||||
DisplayName string `json:"display_name"`
|
DisplayName string `json:"display_name"`
|
||||||
KeyValidityURL string `json:"key_validity_url"`
|
KeyValidityURL string `json:"key_validity_url"`
|
||||||
|
|
@ -37,7 +37,7 @@ type ThirdPartyInviteContent struct {
|
||||||
PublicKeys []PublicKey `json:"public_keys"`
|
PublicKeys []PublicKey `json:"public_keys"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// PublicKey is the PublicKeys structure in https://matrix.org/speculator/spec/HEAD/client_server/unstable.html#m-room-third-party-invite
|
// PublicKey is the PublicKeys structure in https://matrix.org/docs/spec/client_server/r0.2.0.html#m-room-third-party-invite
|
||||||
type PublicKey struct {
|
type PublicKey struct {
|
||||||
KeyValidityURL string `json:"key_validity_url"`
|
KeyValidityURL string `json:"key_validity_url"`
|
||||||
PublicKey string `json:"public_key"`
|
PublicKey string `json:"public_key"`
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue