mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-01-02 07:59:05 +08:00
#176 revert
This commit is contained in:
parent
6c02cedb1e
commit
5fe3422469
@ -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));
|
||||
}
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user