Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复群头衔更改通知报错 #194

Merged
merged 2 commits into from
Jan 7, 2024

Conversation

MrXiaoM
Copy link
Contributor

@MrXiaoM MrXiaoM commented Jan 6, 2024

QQ版本:8.9.80.12440

报错如下,原因是 [1, 3, 2, 5] 为 ProtoList 而非 ProtoMap,导致在获取 targetUin,asLong 时出现未预料的错误

WARN onMsgPush(msgType: 732, subType: 16): java.lang.ClassCastException: moe.fuqiuluo.proto.ProtoList cannot be cast to moe.fuqiuluo.proto.ProtoNumber
pb.toJson()
{
    "1": {
        "1": {
            // ...
        },
        "2": {
            // ...
        },
        "3": {
            "1": {},
            "2": {
                "13": 6,
                "4": 1919810, // groupId
                "5": [
                    74439140803724111,
                    {
                        "2": "xxxxxxxxxxxxxxxxxxx", // titleChangeInfo
                        "3": 1,
                        "5": 114514// targetUin
                    }
                ]
            }
        }
    }
}

@whitechi73 whitechi73 merged commit f311ae3 into whitechi73:master Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants