Thumbnail

rani/matterbridge.git

Clone URL: https://git.buni.party/rani/matterbridge.git

commit f5dd116a3c6b58a1ee77ca7a09259948957996c9 Author: Wim <wim@42.be> Date: Thu Oct 12 20:33:37 2017 +0000 Use bot username if specified (slack). Closes #273 diff --git a/bridge/slack/slack.go b/bridge/slack/slack.go index d72a222..23f6027 100644 --- a/bridge/slack/slack.go +++ b/bridge/slack/slack.go @@ -3456 +3459 @@ 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   }   }