Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

修复群头衔更改通知报错 #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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants