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

处理冲突

This commit is contained in:
Sam 2021-03-16 20:42:57 +08:00
parent 9434c74620
commit 8a5cb302c3
No known key found for this signature in database
GPG Key ID: 2057906F881702DD

View File

@ -19,14 +19,6 @@ import (
type ( type (
GroupInfo struct { GroupInfo struct {
Uin int64
Code int64
Name string
Memo string
OwnerUin int64
MemberCount uint16
MaxMemberCount uint16
Members []*GroupMemberInfo
Uin int64 Uin int64
Code int64 Code int64
Name string Name string
@ -248,16 +240,6 @@ func decodeGroupInfoResponse(c *QQClient, _ *incomingPacketInfo, payload []byte)
return nil, errors.New("group info not found") return nil, errors.New("group info not found")
} }
return &GroupInfo{ return &GroupInfo{
Uin: int64(*info.GroupInfo.GroupUin),
Code: int64(*info.GroupCode),
Name: string(info.GroupInfo.GroupName),
Memo: string(info.GroupInfo.GroupMemo),
OwnerUin: int64(*info.GroupInfo.GroupOwner),
MemberCount: uint16(*info.GroupInfo.GroupMemberNum),
MaxMemberCount: uint16(*info.GroupInfo.GroupMemberMaxNum),
Members: []*GroupMemberInfo{},
LastMsgSeq: int64(info.GroupInfo.GetGroupCurMsgSeq()),
client: c,
Uin: int64(*info.GroupInfo.GroupUin), Uin: int64(*info.GroupInfo.GroupUin),
Code: int64(*info.GroupCode), Code: int64(*info.GroupCode),
Name: string(info.GroupInfo.GroupName), Name: string(info.GroupInfo.GroupName),