mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-01-10 05:29:02 +08:00
Update constructor.ts
This commit is contained in:
parent
e709f31b99
commit
2db64c69ae
@ -451,7 +451,7 @@ export class OB11Constructor {
|
|||||||
if (msg.chatType !== ChatType.friend) {
|
if (msg.chatType !== ChatType.friend) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (msg.peerUin && msg.peerUid) {
|
if (msg.msgType === 5 && msg.subMsgType === 12) {
|
||||||
const event = new OB11FriendAddNoticeEvent(parseInt(msg.peerUin));
|
const event = new OB11FriendAddNoticeEvent(parseInt(msg.peerUin));
|
||||||
return event;
|
return event;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user