Update constructor.ts

This commit is contained in:
Fripine 2024-04-24 18:48:03 +08:00 committed by GitHub
parent 4477fb9262
commit b8965f3c35

View File

@ -451,10 +451,10 @@ export class OB11Constructor {
if (msg.chatType !== ChatType.friend) {
return;
}
if (msg.peerUin&&msg.peerUid) {
const event = new OB11FriendAddNoticeEvent(parseInt(msg.peerUin));
return event;
}
if (msg.peerUin && msg.peerUid) {
const event = new OB11FriendAddNoticeEvent(parseInt(msg.peerUin));
return event;
}
}
static friend(friend: User): OB11User {