We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 08c0497 + af0fe40 commit 1856caaCopy full SHA for 1856caa
1 file changed
src/onebot11/entities.ts
@@ -601,8 +601,8 @@ export namespace OB11Entities {
601
if (xmlElement.templId === '10382') {
602
ctx.logger.info('收到表情回应我的消息', xmlElement.templParam)
603
return await GroupMsgEmojiLikeEvent.parse(ctx, xmlElement, msg.peerUid)
604
- } else if (xmlElement.templId == '10179') {
605
- ctx.logger.info('收到新人被邀请进群消息 templId: 10179', xmlElement)
+ } else if (xmlElement.templId === '10179' || xmlElement.templId === '10180') {
+ ctx.logger.info('收到新人被邀请进群消息', xmlElement)
606
const invitor = xmlElement.templParam.get('invitor')
607
const invitee = xmlElement.templParam.get('invitee')
608
if (invitor && invitee) {
0 commit comments