feat(event): handle guild-request invitation

This commit is contained in:
Il Harper 2024-09-10 14:35:53 +08:00
parent 087f9f1dbc
commit 69d42fb56c
No known key found for this signature in database
GPG Key ID: 4B71FCA698E7E8EC

View File

@ -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) {