diff options
author | Wim <wim@42.be> | 2018-06-09 14:35:02 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2018-06-09 14:35:02 +0200 |
commit | bd9ea7a88dc44f92516315aa1e997a7c1b0e616d (patch) | |
tree | 0382dbd4105f2c0061a70491339493a54c150c43 /bridge/config/config.go | |
parent | 51327a405651442ac47c4ce75363442fa323b592 (diff) | |
download | matterbridge-msglm-bd9ea7a88dc44f92516315aa1e997a7c1b0e616d.tar.gz matterbridge-msglm-bd9ea7a88dc44f92516315aa1e997a7c1b0e616d.tar.bz2 matterbridge-msglm-bd9ea7a88dc44f92516315aa1e997a7c1b0e616d.zip |
Add MediaDownloadBlacklist option. Closes #442
Diffstat (limited to 'bridge/config/config.go')
-rw-r--r-- | bridge/config/config.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bridge/config/config.go b/bridge/config/config.go index 351e6cad..0fa76b52 100644 --- a/bridge/config/config.go +++ b/bridge/config/config.go @@ -74,10 +74,11 @@ type Protocol struct { Jid string // xmpp Label string // all protocols Login string // mattermost, matrix + MediaDownloadBlackList []string + MediaDownloadPath string // Basically MediaServerUpload, but instead of uploading it, just write it to a file on the same server. MediaDownloadSize int // all protocols MediaServerDownload string MediaServerUpload string - MediaDownloadPath string // Basically MediaServerUpload, but instead of uploading it, just write it to a file on the same server. MessageDelay int // IRC, time in millisecond to wait between messages MessageFormat string // telegram MessageLength int // IRC, max length of a message allowed |