diff options
Diffstat (limited to 'bridge')
-rw-r--r-- | bridge/telegram/handlers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/telegram/handlers.go b/bridge/telegram/handlers.go index e4c2a36e..adf291dc 100644 --- a/bridge/telegram/handlers.go +++ b/bridge/telegram/handlers.go @@ -385,7 +385,7 @@ func (b *Btelegram) getDownloadInfo(id string, suffix string, urlpart bool) (str urlPart := strings.Split(url, "/") name = urlPart[len(urlPart)-1] } - if suffix != "" && !strings.HasSuffix(name, suffix) { + if suffix != "" && !strings.HasSuffix(name, suffix) && !strings.HasSuffix(name, ".webm") { name += suffix } text := " " + url |