From 6ab298d7d63c7a7abc9b4acc8dede398753d0611 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=80=A1=E7=84=B6?= <63996691+zhaodice@users.noreply.github.com> Date: Mon, 24 Jul 2023 00:32:45 +0800 Subject: [PATCH] encoding a android_id field is not essential --- cmd/gocq/login.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/gocq/login.go b/cmd/gocq/login.go index 9aa16c091..317643210 100644 --- a/cmd/gocq/login.go +++ b/cmd/gocq/login.go @@ -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)