summaryrefslogtreecommitdiffstats
path: root/matterbridge.toml.sample
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-12-19 23:44:13 +0100
committerWim <wim@42.be>2017-12-19 23:44:13 +0100
commitd0c4fe78eedc883049b684899cee87985ee36680 (patch)
treeba04699eb3e2557a8a0d6a7806b8e9b8b2a72656 /matterbridge.toml.sample
parent265457b45171dcae96a1aac9454e3bda2cd0557a (diff)
downloadmatterbridge-msglm-d0c4fe78eedc883049b684899cee87985ee36680.tar.gz
matterbridge-msglm-d0c4fe78eedc883049b684899cee87985ee36680.tar.bz2
matterbridge-msglm-d0c4fe78eedc883049b684899cee87985ee36680.zip
Allow specifying maximum download size of media using MediaDownloadSize (slack,telegram,matrix)
Diffstat (limited to 'matterbridge.toml.sample')
-rw-r--r--matterbridge.toml.sample9
1 files changed, 9 insertions, 0 deletions
diff --git a/matterbridge.toml.sample b/matterbridge.toml.sample
index d6fbe679..c261deca 100644
--- a/matterbridge.toml.sample
+++ b/matterbridge.toml.sample
@@ -1044,6 +1044,15 @@ MediaServerUpload="https://user:pass@yourserver.com/upload"
#OPTIONAL (default empty)
MediaServerDownload="https://youserver.com/download"
+#MediaDownloadSize is the maximum size of attachments, videos, images
+#matterbridge will download and upload this file to bridges that also support uploading files.
+#eg downloading from slack to upload it to mattermost
+#
+#It will only download from bridges that don't have public links available, which are for the moment
+#slack, telegram and matrix
+#
+#Optional (default 1000000 (1 megabyte))
+MediaDownloadSize=1000000
###################################################################
#Gateway configuration