add sample config, fix inconsistent remote nick handling

This commit is contained in:
Cori Hudson
2019-08-24 12:51:46 -04:00
parent cc9a10ac20
commit fa57aa2b91
2 changed files with 24 additions and 2 deletions

View File

@@ -64,8 +64,7 @@ func (b *Bkeybase) Send(msg config.Message) (string, error) {
// kbchat lib does not support message editing yet
// Send regular message
body := msg.Username + ": " + msg.Text
resp, err := b.kbc.SendMessageByTeamName(b.team, body, &b.channel)
resp, err := b.kbc.SendMessageByTeamName(b.team, msg.Username+msg.Text, &b.channel)
if err != nil {
return "", err
}