mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
fix: friend_add
event
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user