1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 11:07:40 +08:00
This commit is contained in:
wdvxdr 2021-01-26 16:49:05 +08:00
parent 7aa30f1de7
commit 2c63baa143
No known key found for this signature in database
GPG Key ID: 55FF1414A69CEBA6

View File

@ -10,10 +10,8 @@ import (
"github.com/Mrs4s/MiraiGo/utils"
"github.com/pkg/errors"
"google.golang.org/protobuf/proto"
"io/ioutil"
"math/rand"
"net/url"
"os"
"strings"
"sync"
)
@ -189,7 +187,6 @@ func decodeGroupSearchResponse(_ *QQClient, _ uint16, payload []byte) (interface
request.ReadFrom(jce.NewJceReader(payload))
data := &jce.RequestDataVersion2{}
data.ReadFrom(jce.NewJceReader(request.SBuffer))
_ = ioutil.WriteFile("payload", payload, os.ModePerm)
if len(data.Map["RespHead"]["SummaryCard.RespHead"]) > 20 {
return nil, errors.New("not found")
}