Skip to content

Commit

Permalink
feat(event): handle guild-request invitation
Browse files Browse the repository at this point in the history
  • Loading branch information
ilharp committed Sep 10, 2024
1 parent 087f9f1 commit 69d42fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/engine-chronocat-event/src/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ const dispatcher = async (

// eslint-disable-next-line @typescript-eslint/no-misused-promises
notifies.forEach(async (x) => {
if (x.type !== 7 || x.status !== 1) return
if ((x.type !== 1 && x.type !== 7) || x.status !== 1) return

const uin = await ctx.chronocat.uix.getUin2(x.user1.uid) // 此时用户刚刚申请入群,不在群里,不能带 group 场景
if (!uin) {
Expand Down

0 comments on commit 69d42fb

Please sign in to comment.