add to Matrix config to send url not a file

This commit is contained in:
other8026 2024-02-12 16:05:16 +08:00
parent 44411b4789
commit 2f12fa3c61
2 changed files with 5 additions and 0 deletions

View File

@ -146,6 +146,7 @@ type Protocol struct {
ReplaceNicks [][]string // all protocols ReplaceNicks [][]string // all protocols
RemoteNickFormat string // all protocols RemoteNickFormat string // all protocols
RunCommands []string // IRC RunCommands []string // IRC
SendUrlNotFile bool // matrix
Server string // IRC,mattermost,XMPP,discord,matrix Server string // IRC,mattermost,XMPP,discord,matrix
SessionFile string // msteams,whatsapp SessionFile string // msteams,whatsapp
ShowJoinPart bool // all protocols ShowJoinPart bool // all protocols

View File

@ -1329,6 +1329,10 @@ StripNick=false
#OPTIONAL (default false) #OPTIONAL (default false)
ShowTopicChange=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 #steam section
################################################################### ###################################################################