Update constructor.ts

This commit is contained in:
Fripine
2024-04-25 00:54:36 +08:00
committed by GitHub
parent e709f31b99
commit 2db64c69ae

View File

@@ -451,7 +451,7 @@ export class OB11Constructor {
if (msg.chatType !== ChatType.friend) {
return;
}
if (msg.peerUin && msg.peerUid) {
if (msg.msgType === 5 && msg.subMsgType === 12) {
const event = new OB11FriendAddNoticeEvent(parseInt(msg.peerUin));
return event;
}