summaryrefslogtreecommitdiffstats
path: root/bridge
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-04-08 00:16:46 +0200
committerWim <wim@42.be>2017-04-08 00:16:46 +0200
commiteee0036c7f0d711f0af203bf0fb8dccd42241c1a (patch)
tree75c7b42fc2c1d5a102aac8039e6b0a42c84b78a7 /bridge
parent89c66b9430098f3d1801b8e38af2230932aba387 (diff)
downloadmatterbridge-msglm-eee0036c7f0d711f0af203bf0fb8dccd42241c1a.tar.gz
matterbridge-msglm-eee0036c7f0d711f0af203bf0fb8dccd42241c1a.tar.bz2
matterbridge-msglm-eee0036c7f0d711f0af203bf0fb8dccd42241c1a.zip
Modify iconurl correctly (mattermost). Closes #145
Diffstat (limited to 'bridge')
-rw-r--r--bridge/mattermost/mattermost.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/bridge/mattermost/mattermost.go b/bridge/mattermost/mattermost.go
index 94b649bb..b9d082e3 100644
--- a/bridge/mattermost/mattermost.go
+++ b/bridge/mattermost/mattermost.go
@@ -101,6 +101,7 @@ func (b *Bmattermost) Send(msg config.Message) error {
}
if !b.Config.UseAPI {
matterMessage := matterhook.OMessage{IconURL: b.Config.IconURL}
+ matterMessage.IconURL = msg.Avatar
matterMessage.Channel = channel
matterMessage.UserName = nick
matterMessage.Type = ""