Switch to /v3 paths everywhere

This commit is contained in:
Tulir Asokan 2022-04-17 12:59:34 +03:00
commit 0eee489b64
23 changed files with 299 additions and 267 deletions

View file

@ -34,7 +34,7 @@ func (uriString ContentURIString) ParseOrIgnore() ContentURI {
}
// ContentURI represents a Matrix content URI.
// https://matrix.org/docs/spec/client_server/r0.6.0#matrix-content-mxc-uris
// https://spec.matrix.org/v1.2/client-server-api/#matrix-content-mxc-uris
type ContentURI struct {
Homeserver string
FileID string

View file

@ -20,7 +20,7 @@ const (
)
// Algorithm is a Matrix message encryption algorithm.
// https://matrix.org/docs/spec/client_server/r0.6.0#messaging-algorithm-names
// https://spec.matrix.org/v1.2/client-server-api/#messaging-algorithm-names
type Algorithm string
const (