4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-07-11 02:36:28 +00:00

Allow specifying maximum download size of media using MediaDownloadSize (slack,telegram,matrix)

This commit is contained in:
Wim
2017-12-19 23:44:13 +01:00
parent 265457b451
commit d0c4fe78ee
5 changed files with 15 additions and 3 deletions

View File

@ -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