mirror of
https://github.com/chrononeko/chronocat.git
synced 2024-11-25 09:37:35 +00:00
feat(event): handle guild-request
invitation
This commit is contained in:
parent
087f9f1dbc
commit
69d42fb56c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user