Skip to content

Commit

Permalink
fix: cancel hex encoding of android_id field (#2318)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaodice authored Aug 1, 2023
1 parent 526391e commit a4c131e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/gocq/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ func register(uin int64, androidID, guid []byte, qimei36, key string) {
resp, err := download.Request{
Method: http.MethodGet,
URL: signServer + "register" + fmt.Sprintf("?uin=%v&android_id=%v&guid=%v&qimei36=%v&key=%s",
uin, hex.EncodeToString(androidID), hex.EncodeToString(guid), qimei36, key),
uin, androidID, hex.EncodeToString(guid), qimei36, key),
}.Bytes()
if err != nil {
log.Warnf("注册QQ实例时出现错误: %v server: %v", err, signServer)
Expand Down

0 comments on commit a4c131e

Please sign in to comment.