mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-12-26 05:15:38 +00:00
Fix linting
This commit is contained in:
parent
815d8b804f
commit
a89267943c
@ -170,10 +170,10 @@ func (b *Bdiscord) handleEventWebhook(msg *config.Message, channelID string) (st
|
|||||||
|
|
||||||
b.Log.Debugf("Processing webhook sending for message %#v", msg)
|
b.Log.Debugf("Processing webhook sending for message %#v", msg)
|
||||||
msg.Text = b.replaceUserMentions(msg.Text)
|
msg.Text = b.replaceUserMentions(msg.Text)
|
||||||
msgId, err := b.webhookSend(msg, channelID)
|
msgID, err := b.webhookSend(msg, channelID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
b.Log.Errorf("Could not broadcast via webhook for message %#v: %s", msgId, err)
|
b.Log.Errorf("Could not broadcast via webhook for message %#v: %s", msgID, err)
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
return msgId, nil
|
return msgID, nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user