Skip to content

Commit

Permalink
fix: panic after -10005
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed Aug 1, 2023
1 parent ca20a3d commit 0714aac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/gocq/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,9 @@ func signCallback(uin string, results []gjson.Result, t string) {
if err != nil {
log.Warnf("callback error: %v", err)
}
signSubmit(uin, cmd, callbackID, ret, t)
if len(ret) > 10 {
signSubmit(uin, cmd, callbackID, ret, t)
}
}
}

Expand Down

0 comments on commit 0714aac

Please sign in to comment.