mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-22 14:21:55 -06:00
Make "m.upload.size" optional
This commit is contained in:
parent
5579121c6f
commit
0459d2b9e5
|
@ -35,7 +35,7 @@ import (
|
|||
// configResponse is the response to GET /_matrix/media/r0/config
|
||||
// https://matrix.org/docs/spec/client_server/latest#get-matrix-media-r0-config
|
||||
type configResponse struct {
|
||||
UploadSize *config.FileSizeBytes `json:"m.upload.size"`
|
||||
UploadSize *config.FileSizeBytes `json:"m.upload.size,omitempty"`
|
||||
}
|
||||
|
||||
// Setup registers the media API HTTP handlers
|
||||
|
|
Loading…
Reference in a new issue