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

Merge pull request #158 from aimingo/master

feat: joinRequest add member Invite info
This commit is contained in:
Mrs4s 2021-07-17 22:27:53 +08:00 committed by GitHub
commit 555368affb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,6 +33,8 @@ type (
RequesterNick string `json:"requester_nick"` RequesterNick string `json:"requester_nick"`
GroupCode int64 `json:"group_id"` GroupCode int64 `json:"group_id"`
GroupName string `json:"group_name"` GroupName string `json:"group_name"`
ActionUinNick string `json:"action_uin_nick"`
ActionUin int64 `json:"action_uin"`
Checked bool `json:"checked"` Checked bool `json:"checked"`
Actor int64 `json:"actor"` Actor int64 `json:"actor"`
@ -250,6 +252,8 @@ func decodeSystemMsgGroupPacket(c *QQClient, _ *incomingPacketInfo, payload []by
Actor: st.Msg.ActorUin, Actor: st.Msg.ActorUin,
Suspicious: len(st.Msg.WarningTips) > 0, Suspicious: len(st.Msg.WarningTips) > 0,
client: c, client: c,
ActionUin: st.Msg.ActionUin,
ActionUinNick: st.Msg.ActionUinQqNick,
}) })
default: default:
c.Error("unknown group message type: %v", st.Msg.GroupMsgType) c.Error("unknown group message type: %v", st.Msg.GroupMsgType)