1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-06-19 14:05:04 +08:00

fix temp session.

This commit is contained in:
Mrs4s 2021-03-06 19:31:55 +08:00
parent e11fa95c50
commit 0613f5ae84

View File

@ -200,7 +200,7 @@ func tempSessionDecoder(c *QQClient, pMsg *msg.Message, _ *incomingPacketInfo) {
if pMsg.Head.C2CTmpMsgHead == nil || pMsg.Body == nil { if pMsg.Head.C2CTmpMsgHead == nil || pMsg.Body == nil {
return return
} }
if pMsg.Head.GetMsgType() == 529 && pMsg.Head.GetC2CCmd() == 6 { if (pMsg.Head.GetMsgType() == 529 && pMsg.Head.GetC2CCmd() == 6) || pMsg.Body.RichText != nil {
group := c.FindGroup(pMsg.Head.C2CTmpMsgHead.GetGroupCode()) group := c.FindGroup(pMsg.Head.C2CTmpMsgHead.GetGroupCode())
if group == nil { if group == nil {
return return