mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 11:07:40 +08:00
update.
This commit is contained in:
parent
cff6d723a9
commit
85e7553b29
@ -3,7 +3,6 @@ package client
|
||||
import (
|
||||
"crypto/md5"
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/Mrs4s/MiraiGo/binary"
|
||||
"github.com/Mrs4s/MiraiGo/client/pb"
|
||||
"github.com/Mrs4s/MiraiGo/message"
|
||||
@ -431,7 +430,6 @@ func (c *QQClient) loop() {
|
||||
continue
|
||||
}
|
||||
}
|
||||
fmt.Println(pkt.CommandName)
|
||||
go func() {
|
||||
decoder, ok := c.decoders[pkt.CommandName]
|
||||
if !ok {
|
||||
|
@ -181,7 +181,7 @@ func parseMessageElems(elems []*msg.Elem) []message.IMessageElement {
|
||||
res = append(res, message.NewText(elem.Text.Str))
|
||||
}
|
||||
if elem.CustomFace != nil {
|
||||
res = append(res, message.NewNetImage(elem.CustomFace.FilePath, "http://gchat.qpic.cn/"+elem.CustomFace.OrigUrl))
|
||||
res = append(res, message.NewNetImage(elem.CustomFace.FilePath, "http://gchat.qpic.cn"+elem.CustomFace.OrigUrl))
|
||||
}
|
||||
if elem.NotOnlineImage != nil {
|
||||
var img string
|
||||
|
Loading…
x
Reference in New Issue
Block a user