fix #157
This commit is contained in:
1 parent
8262f2fe47
commit
12f64d76fe
1 file changed
+2
-1
@@ -518,7 +518,8 @@ export class NapCatOnebot11 {
|
||||
} catch (e: any) {
|
||||
logError('获取群通知的成员信息失败', notify, e.stack.toString());
|
||||
}
|
||||
} else if ([GroupNotifyTypes.JOIN_REQUEST].includes(notify.type)) {
|
||||
//notify.status == 1 表示未处理 2表示处理完成
|
||||
} else if ([GroupNotifyTypes.JOIN_REQUEST].includes(notify.type) && notify.status == 1) {
|
||||
logDebug('有加群请求');
|
||||
const groupRequestEvent = new OB11GroupRequestEvent();
|
||||
groupRequestEvent.group_id = parseInt(notify.group.groupCode);
|
||||
|
||||
Reference in new issue
Block a user