async media: add ability to upload media asynchronously

Requires a homeserver with MSC2246 support
This commit is contained in:
Sumner Evans
2022-04-25 21:29:35 -06:00
parent c5f58afe71
commit a695b045c8
6 changed files with 36 additions and 25 deletions

View File

@@ -14,6 +14,7 @@ type homeserver struct {
Domain string `yaml:"domain"`
Asmux bool `yaml:"asmux"`
StatusEndpoint string `yaml:"status_endpoint"`
AsyncMedia bool `yaml:"async_media"`
}
func (h *homeserver) validate() error {