From 26a7e35f2777b8424477eef1838125a6ae55fe48 Mon Sep 17 00:00:00 2001 From: Wim Date: Wed, 27 Feb 2019 00:41:50 +0100 Subject: 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 --- bridge/config/config.go | 1 + 1 file changed, 1 insertion(+) (limited to 'bridge/config') 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 -- cgit v1.2.3