summaryrefslogtreecommitdiffstats
path: root/bridge/config/config.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2019-02-27 00:41:50 +0100
committerGitHub <noreply@github.com>2019-02-27 00:41:50 +0100
commit26a7e35f2777b8424477eef1838125a6ae55fe48 (patch)
treed48cfdb02bb7a6d0558413cbad906f2ec59cb3a2 /bridge/config/config.go
parentd44d2a5f0014fda12ce78d35e416dffab6b7c04a (diff)
downloadmatterbridge-msglm-26a7e35f2777b8424477eef1838125a6ae55fe48.tar.gz
matterbridge-msglm-26a7e35f2777b8424477eef1838125a6ae55fe48.tar.bz2
matterbridge-msglm-26a7e35f2777b8424477eef1838125a6ae55fe48.zip
Add MediaConvertWebPToPNG option (telegram). (#741)
* Add MediaConvertWebPToPNG option (telegram). When enabled matterbridge will convert .webp files to .png files before uploading them to the mediaserver of the other bridges. Fixes #398
Diffstat (limited to 'bridge/config/config.go')
-rw-r--r--bridge/config/config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/bridge/config/config.go b/bridge/config/config.go
index 61ffe913..230ddb9e 100644
--- a/bridge/config/config.go
+++ b/bridge/config/config.go
@@ -93,6 +93,7 @@ type Protocol struct {
MediaDownloadSize int // all protocols
MediaServerDownload string
MediaServerUpload string
+ MediaConvertWebPToPNG bool // telegram
MessageDelay int // IRC, time in millisecond to wait between messages
MessageFormat string // telegram
MessageLength int // IRC, max length of a message allowed