3
0
mirror of https://github.com/42wim/matterbridge.git synced 2024-12-28 14:12:38 +01:00

Fix avatar uploads to work with MediaDownloadPath. Closes

This commit is contained in:
Wim 2018-07-11 23:44:29 +02:00
parent 2d2d185200
commit fa0c4025f7

View File

@ -208,7 +208,7 @@ 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)
}