mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-24 21:21:34 +00:00
Fix bot (legacy token) messages not being send. Closes #571
This commit is contained in:
parent
6bef998bb3
commit
b3999b6e71
@ -251,7 +251,7 @@ func (b *Bslack) populateMessageWithBotInfo(ev *slack.MessageEvent, rmsg *config
|
||||
}
|
||||
}
|
||||
|
||||
if bot.Name != "" && bot.Name != "Slack API Tester" {
|
||||
if bot.Name != "" {
|
||||
rmsg.Username = bot.Name
|
||||
if ev.Username != "" {
|
||||
rmsg.Username = ev.Username
|
||||
|
Loading…
Reference in New Issue
Block a user