mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-06-26 14:19:24 +00:00
Modify iconurl correctly (mattermost). Closes #145
This commit is contained in:
@ -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 = ""
|
||||
|
Reference in New Issue
Block a user