mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-27 11:21:21 +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) {
|
||||
return;
|
||||
}
|
||||
if (msg.peerUin && msg.peerUid) {
|
||||
if (msg.msgType === 5 && msg.subMsgType === 12) {
|
||||
const event = new OB11FriendAddNoticeEvent(parseInt(msg.peerUin));
|
||||
return event;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user