mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-01-17 13:50:36 +00:00
Update constructor.ts
This commit is contained in:
parent
9bed9fe162
commit
35afb12756
@ -451,10 +451,10 @@ export class OB11Constructor {
|
|||||||
if (msg.chatType !== ChatType.friend) {
|
if (msg.chatType !== ChatType.friend) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (msg.peerUin&&msg.peerUid) {
|
if (msg.peerUin && msg.peerUid) {
|
||||||
const event = new OB11FriendAddNoticeEvent(parseInt(msg.peerUin));
|
const event = new OB11FriendAddNoticeEvent(parseInt(msg.peerUin));
|
||||||
return event;
|
return event;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static friend(friend: User): OB11User {
|
static friend(friend: User): OB11User {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user