Skip to content

Commit 5e99276

Browse files
committed
fix: 临时修复无法扫码登录
1 parent 85ce060 commit 5e99276

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/gocq/sign.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ func (c *signer) check() {
160160
}
161161

162162
func (i *remote) sign(cmd string, seq uint32, buf []byte, header http.Header) (signResp *sign.Response, err error) {
163-
if !sign.ContainSignPKG(cmd) {
163+
if !(sign.ContainSignPKG(cmd) || cmd == "wtlogin.trans_emp") {
164164
return nil, nil
165165
}
166166
signReq := sign.Request{

0 commit comments

Comments
 (0)