add account and userid
This commit is contained in:
@@ -125,7 +125,7 @@ func (b *Bkeybase) handleEvent(msg kbchat.Message) {
|
||||
// TODO download avatar
|
||||
|
||||
// Create our message
|
||||
rmsg := config.Message{Username: msg.Sender.Username, Channel: msg.Channel.TopicName, ID: strconv.Itoa(msg.MsgID)}
|
||||
rmsg := config.Message{Username: msg.Sender.Username, UserID: msg.Sender.Uid, Channel: msg.Channel.TopicName, ID: strconv.Itoa(msg.MsgID), Account: b.Account}
|
||||
|
||||
// Text must be a string
|
||||
if msg.Content.Type != "text" {
|
||||
|
||||
Reference in New Issue
Block a user