summaryrefslogtreecommitdiffstats
path: root/matterbridge.toml.sample
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-06-09 14:35:02 +0200
committerWim <wim@42.be>2018-06-09 14:35:02 +0200
commitbd9ea7a88dc44f92516315aa1e997a7c1b0e616d (patch)
tree0382dbd4105f2c0061a70491339493a54c150c43 /matterbridge.toml.sample
parent51327a405651442ac47c4ce75363442fa323b592 (diff)
downloadmatterbridge-msglm-bd9ea7a88dc44f92516315aa1e997a7c1b0e616d.tar.gz
matterbridge-msglm-bd9ea7a88dc44f92516315aa1e997a7c1b0e616d.tar.bz2
matterbridge-msglm-bd9ea7a88dc44f92516315aa1e997a7c1b0e616d.zip
Add MediaDownloadBlacklist option. Closes #442
Diffstat (limited to 'matterbridge.toml.sample')
-rw-r--r--matterbridge.toml.sample8
1 files changed, 7 insertions, 1 deletions
diff --git a/matterbridge.toml.sample b/matterbridge.toml.sample
index 1bc4f3b4..2a77bca1 100644
--- a/matterbridge.toml.sample
+++ b/matterbridge.toml.sample
@@ -1331,9 +1331,15 @@ MediaServerDownload="https://youserver.com/download"
#It will only download from bridges that don't have public links available, which are for the moment
#slack, telegram, matrix and mattermost
#
-#Optional (default 1000000 (1 megabyte))
+#OPTIONAL (default 1000000 (1 megabyte))
MediaDownloadSize=1000000
+#MediaDownloadBlacklist allows you to blacklist specific files from being downloaded.
+#Filenames matching these regexp will not be download/uploaded to the mediaserver
+#You can use regex for this, see https://regex-golang.appspot.com/assets/html/index.html for more regex info
+#OPTIONAL (default empty)
+MediaDownloadBlacklist=[".html$",".htm$"]
+
###################################################################
#Gateway configuration
###################################################################