fix: 调整群数据解析逻辑 修复群禁言无法解除的问题 #167
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
按照之前的逻辑 如果用户自己退出 会导致额外解析 刷新用户缓存 导致找不到退群人员信息 Uin 返回 0
并且 优先解析退群的人的数据 可以防止刷新缓存导致的数据丢失
解除群禁言的数据包序列化的时候 因为 S 的值为 0 导致最后数据丢失
添加 option 之后 可以保证字段为 0 时 也存在数据包中
[08 9A 11 22 05 08 E6 4E 12 00] => [08 9A 11 22 08 08 E6 4E 12 03 88 01 00]