Add option to disable direct CDN uploads

This commit is contained in:
Tulir Asokan
2023-05-14 14:46:04 +03:00
parent de80a77708
commit ad8efb864b
4 changed files with 7 additions and 1 deletions

View File

@@ -51,6 +51,7 @@ type BridgeConfig struct {
DeletePortalOnChannelDelete bool `yaml:"delete_portal_on_channel_delete"`
DeleteGuildOnLeave bool `yaml:"delete_guild_on_leave"`
FederateRooms bool `yaml:"federate_rooms"`
UseDiscordCDNUpload bool `yaml:"use_discord_cdn_upload"`
CacheMedia string `yaml:"cache_media"`
MediaPatterns MediaPatterns `yaml:"media_patterns"`