Skip to content

Commit

Permalink
fix: review
Browse files Browse the repository at this point in the history
  • Loading branch information
sj817 committed Aug 1, 2024
1 parent 71ed3be commit 81997e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/event/review.handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export const review = new (class Handler {
/** 同时启用 */
if (this.App.WhiteList.groups && this.App.BlackList.groups) {
this.GroupEnable = e => {
if (!e.group_id) return false
/** 白名单不为空 */
if (Array.isArray(this.Config.WhiteList.groups) && this.Config.WhiteList.groups.length) {
return this.Config.WhiteList.groups.includes(String(e.group_id))
Expand Down

0 comments on commit 81997e6

Please sign in to comment.