mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
fix group uin.
This commit is contained in:
parent
677ad1bc81
commit
eae57aabf1
@ -965,6 +965,7 @@ func (c *QQClient) buildGroupInfoRequestPacket(groupCode int64) (uint16, []byte)
|
||||
GroupCode: proto.Uint64(uint64(groupCode)),
|
||||
Stgroupinfo: &oidb.D88DGroupInfo{
|
||||
GroupOwner: proto.Uint64(0),
|
||||
GroupUin: proto.Uint64(0),
|
||||
GroupCreateTime: proto.Uint32(0),
|
||||
GroupFlag: proto.Uint32(0),
|
||||
GroupMemberMaxNum: proto.Uint32(0),
|
||||
|
@ -403,7 +403,7 @@ func decodeGroupInfoResponse(c *QQClient, _ uint16, payload []byte) (interface{}
|
||||
}
|
||||
info := rsp.RspGroupInfo[0]
|
||||
return &GroupInfo{
|
||||
Uin: utils.ToGroupUin(int64(*info.GroupCode)),
|
||||
Uin: int64(*info.GroupInfo.GroupUin),
|
||||
Code: int64(*info.GroupCode),
|
||||
Name: string(info.GroupInfo.GroupName),
|
||||
Memo: string(info.GroupInfo.GroupMemo),
|
||||
|
Loading…
x
Reference in New Issue
Block a user