This commit is contained in:
shoopea 2019-06-09 21:03:30 +08:00
parent f062abca0d
commit 4eb220622c

3
bot.go
View File

@ -282,7 +282,8 @@ func botMsgLoad(m *tb.Message) {
defer resp.Body.Close()
buf := new(bytes.Buffer)
buf.ReadFrom(resp.Body)
UnzipMessages(buf.Bytes())
err = UnzipMessages(buf.Bytes())
logOnError(err, "botMsgLoad : UnzipMessages")
} else {
c := TGCommand{