forked from lug/matterbridge
		
	Fix bot (legacy token) messages not being send. Closes #571
This commit is contained in:
		@@ -250,7 +250,7 @@ func (b *Bslack) populateMessageWithBotInfo(ev *slack.MessageEvent, rmsg *config
 | 
			
		||||
	}
 | 
			
		||||
	b.Log.Debugf("Found bot %#v", bot)
 | 
			
		||||
 | 
			
		||||
	if bot.Name != "" && bot.Name != "Slack API Tester" {
 | 
			
		||||
	if bot.Name != "" {
 | 
			
		||||
		rmsg.Username = bot.Name
 | 
			
		||||
		if ev.Username != "" {
 | 
			
		||||
			rmsg.Username = ev.Username
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user