From 5fe3422469f14868fbfd450b6730ba33dce18546 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Thu, 1 Aug 2024 21:48:17 +0800 Subject: [PATCH] #176 revert --- src/onebot11/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/onebot11/main.ts b/src/onebot11/main.ts index 64b1cf2a..2a1f7eed 100644 --- a/src/onebot11/main.ts +++ b/src/onebot11/main.ts @@ -285,7 +285,7 @@ export class NapCatOnebot11 { // } groupListener.onGroupNotifiesUpdated = async (doubt, notifies) => { //console.log('ob11 onGroupNotifiesUpdated', notifies[0]); - if (![GroupNotifyTypes.INVITE_ME, GroupNotifyTypes.ADMIN_SET, GroupNotifyTypes.ADMIN_UNSET, GroupNotifyTypes.ADMIN_UNSET_OTHER].includes(notifies[0].type)) { + if (![GroupNotifyTypes.ADMIN_SET, GroupNotifyTypes.ADMIN_UNSET, GroupNotifyTypes.ADMIN_UNSET_OTHER].includes(notifies[0].type)) { this.postGroupNotifies(notifies).then().catch(e => logError('postGroupNotifies error: ', e)); } };