diff --git a/bridge/config/config.go b/bridge/config/config.go index 18c60920..6fa27154 100644 --- a/bridge/config/config.go +++ b/bridge/config/config.go @@ -146,6 +146,7 @@ type Protocol struct { ReplaceNicks [][]string // all protocols RemoteNickFormat string // all protocols RunCommands []string // IRC + SendUrlNotFile bool // matrix Server string // IRC,mattermost,XMPP,discord,matrix SessionFile string // msteams,whatsapp ShowJoinPart bool // all protocols diff --git a/matterbridge.toml.sample b/matterbridge.toml.sample index 5932b269..b78461ee 100644 --- a/matterbridge.toml.sample +++ b/matterbridge.toml.sample @@ -1329,6 +1329,10 @@ StripNick=false #OPTIONAL (default false) ShowTopicChange=false +#Enable to send a URL rather than an image +#(the default behavior in Matterbridge is to download and send a file) +SendUrlNotFile=true + ################################################################### #steam section ###################################################################