mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-07-02 17:26:16 +00:00
This commit is contained in:
@ -204,7 +204,7 @@ func (b *Bslack) Send(msg config.Message) (string, error) {
|
||||
}
|
||||
|
||||
// Use webhook to send the message
|
||||
if b.GetString(outgoingWebhookConfig) != "" {
|
||||
if b.GetString(outgoingWebhookConfig) != "" && b.GetString(tokenConfig) == "" {
|
||||
return "", b.sendWebhook(msg)
|
||||
}
|
||||
return b.sendRTM(msg)
|
||||
|
Reference in New Issue
Block a user