From eee0036c7f0d711f0af203bf0fb8dccd42241c1a Mon Sep 17 00:00:00 2001 From: Wim Date: Sat, 8 Apr 2017 00:16:46 +0200 Subject: Modify iconurl correctly (mattermost). Closes #145 --- bridge/mattermost/mattermost.go | 1 + 1 file changed, 1 insertion(+) (limited to 'bridge') 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 = "" -- cgit v1.2.3