fix: friend_add event

This commit is contained in:
idranme
2024-09-20 19:08:22 +08:00
parent 4dd6d12168
commit 15b85f735d

View File

@@ -395,7 +395,7 @@ export namespace OB11Entities {
)
}
}
if (grayTipElement.xmlElement?.templId === '10229') {
if (grayTipElement.xmlElement?.templId === '10229' || grayTipElement.jsonGrayTipElement?.busiId === '19324') {
const uin = +msg.peerUin || +(await ctx.ntUserApi.getUinByUid(msg.peerUid))
return new OB11FriendAddNoticeEvent(uin)
}