diff options
author | Qais Patankar <qaisjp@gmail.com> | 2020-11-30 05:57:16 +0000 |
---|---|---|
committer | Wim <wim@42.be> | 2020-12-13 23:19:48 +0100 |
commit | 0a17e2111921ad45251b72864cc713a120658849 (patch) | |
tree | 84804e5ba84e8ec6fb9c3d89465b2f317e154681 /bridge/discord/transmitter/transmitter.go | |
parent | 52e2f926f423295dbf95463218bed6abd94d574a (diff) | |
download | matterbridge-msglm-0a17e2111921ad45251b72864cc713a120658849.tar.gz matterbridge-msglm-0a17e2111921ad45251b72864cc713a120658849.tar.bz2 matterbridge-msglm-0a17e2111921ad45251b72864cc713a120658849.zip |
Remove WebhookURL support (discord)
Diffstat (limited to 'bridge/discord/transmitter/transmitter.go')
-rw-r--r-- | bridge/discord/transmitter/transmitter.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/discord/transmitter/transmitter.go b/bridge/discord/transmitter/transmitter.go index 41ed055b..e6d52a98 100644 --- a/bridge/discord/transmitter/transmitter.go +++ b/bridge/discord/transmitter/transmitter.go @@ -111,7 +111,7 @@ func (t *Transmitter) HasWebhook(id string) bool { } // AddWebhook allows you to register a channel's webhook with the transmitter. -func (t *Transmitter) AddWebhook(channelID string, webhook *discordgo.Webhook) (replaced bool) { +func (t *Transmitter) AddWebhook(channelID string, webhook *discordgo.Webhook) bool { t.Log.Debugf("Manually added webhook %#v to channel %#v", webhook.ID, channelID) t.mutex.Lock() defer t.mutex.Unlock() |