Skip to content

Commit

Permalink
feat: 补充单向好友UID
Browse files Browse the repository at this point in the history
  • Loading branch information
Redmomn committed Nov 19, 2024
1 parent c2b3cc8 commit 53bc9c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/operation.go
Original file line number Diff line number Diff line change
Expand Up @@ -1286,6 +1286,7 @@ func (c *QQClient) GetUnidirectionalFriendList() (ret []*entity.Friend, err erro
Age uint32 `json:"uint32_age"`
Sex uint32 `json:"uint32_sex"`
SourceBytes string `json:"bytes_source"`
UID string `json:"str_uid"`
} `json:"rpt_block_list"`
ErrorCode int32 `json:"ErrorCode"`
}{}
Expand All @@ -1309,6 +1310,7 @@ func (c *QQClient) GetUnidirectionalFriendList() (ret []*entity.Friend, err erro
}
ret = append(ret, &entity.Friend{
Uin: block.Uin,
UID: block.UID,
Nickname: decodeBase64String(block.NickBytes),
Age: block.Age,
Source: decodeBase64String(block.SourceBytes),
Expand Down

0 comments on commit 53bc9c0

Please sign in to comment.