mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
处理冲突
This commit is contained in:
parent
9434c74620
commit
8a5cb302c3
@ -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),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user