5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-12-25 17:35:40 +00:00

Fix linting

This commit is contained in:
Wim 2024-05-24 00:31:18 +02:00
parent 815d8b804f
commit a89267943c
No known key found for this signature in database

View File

@ -170,10 +170,10 @@ func (b *Bdiscord) handleEventWebhook(msg *config.Message, channelID string) (st
b.Log.Debugf("Processing webhook sending for message %#v", msg)
msg.Text = b.replaceUserMentions(msg.Text)
msgId, err := b.webhookSend(msg, channelID)
msgID, err := b.webhookSend(msg, channelID)
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 msgId, nil
return msgID, nil
}