commit 01906b259b76b79181d9a4ca73a3727a3bd160c9
Author: Wim <wim@42.be>
Date: Wed Jul 11 23:44:29 2018 +0000
diff --git a/bridge/mattermost/mattermost.go b/bridge/mattermost/mattermost.go
index 30958a0..ce77b06 100644
--- a/bridge/mattermost/mattermost.go
+++ b/bridge/mattermost/mattermost.go
@@ -2087 +2087 @@ func (b *Bmattermost) handleMatterClient(messages chan *config.Message) {
}
// only download avatars if we have a place to upload them (configured mediaserver)
- if b.General.MediaServerUpload != "" {
+ if b.General.MediaServerUpload != "" || b.General.MediaDownloadPath != "" {
b.handleDownloadAvatar(message.UserID, message.Channel)
}