diff options
Diffstat (limited to 'bridge/slack')
-rw-r--r-- | bridge/slack/slack.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bridge/slack/slack.go b/bridge/slack/slack.go index d72a2223..23f60277 100644 --- a/bridge/slack/slack.go +++ b/bridge/slack/slack.go @@ -345,6 +345,9 @@ func (b *Bslack) handleSlackClient(mchan chan *MMMessage) { } if bot.Name != "" { m.Username = bot.Name + if ev.Username != "" { + m.Username = ev.Username + } m.UserID = bot.ID } } |