[Bug] 单向好友的未知性别有时会超过 int32 范围
MingxuanGame opened this issue · comments
MingxuanGame commented
描述
在单向好友的 uint32_sex
中,规定为 int32
,但有时未知性别返回的值超过 int32
允许的最大值(例如 4294967295
),导致 UnmarshalTypeError
相关 Issue:Mrs4s/go-cqhttp#1273
代码片段
Line 29 in 6b5ba9f
修复方法
修改为 int64
即可