fix: others invited by others

This commit is contained in:
Wesley F. Young 2024-08-30 10:04:48 +08:00
parent 077ba74b22
commit 578f518aaf

View File

@ -478,8 +478,8 @@ export class NapCatOneBot11Adapter {
const groupInviteEvent = new OB11GroupRequestEvent(
this.core,
parseInt(notify.group.groupCode),
parseInt(await this.core.apis.UserApi.getUinByUidV2(notify.user2.uid)),
'invite',
parseInt(await this.core.apis.UserApi.getUinByUidV2(notify.user1.uid)),
'add',
notify.postscript,
flag,
);