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:
parent
e11fa95c50
commit
0613f5ae84
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user