test
This commit is contained in:
parent
f062abca0d
commit
4eb220622c
3
bot.go
3
bot.go
@ -282,7 +282,8 @@ func botMsgLoad(m *tb.Message) {
|
|||||||
defer resp.Body.Close()
|
defer resp.Body.Close()
|
||||||
buf := new(bytes.Buffer)
|
buf := new(bytes.Buffer)
|
||||||
buf.ReadFrom(resp.Body)
|
buf.ReadFrom(resp.Body)
|
||||||
UnzipMessages(buf.Bytes())
|
err = UnzipMessages(buf.Bytes())
|
||||||
|
logOnError(err, "botMsgLoad : UnzipMessages")
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
c := TGCommand{
|
c := TGCommand{
|
||||||
|
Loading…
Reference in New Issue
Block a user