Oops, forgot the target
This commit is contained in:
parent
85284e40be
commit
9378ec3e38
1 changed files with 1 additions and 1 deletions
|
@ -38,5 +38,5 @@ func (b *Broker) SendTextMessage(chat *APIChat, text string) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("[SendTextMessage] JSON Encode error: %s\n", err.Error())
|
log.Printf("[SendTextMessage] JSON Encode error: %s\n", err.Error())
|
||||||
}
|
}
|
||||||
fmt.Fprintln(data)
|
fmt.Fprintln(b.Socket, data)
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue