mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-06-19 05:55:05 +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 {
|
||||
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())
|
||||
if group == nil {
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user