fix(onebot): match group invitations to the correct request
Report distinct invitations separately and approve only the request that belongs to the account and inviter. Reject ambiguous approvals and resolve the sender of invitations from outside the contact list. Refs #612
This commit is contained in:
16 files changed
+429
-142
No files matched your search
@@ -200,7 +200,7 @@ function makeRef(
|
||||
fetchGroupRequests: vi.fn(async () => []),
|
||||
fetchDownloadRKeys: vi.fn(async () => []),
|
||||
findGroupInviteCardGroupBySequence: vi.fn(() => undefined),
|
||||
getGroupInviteCardSequence: vi.fn(() => undefined),
|
||||
groupInvites: { getSelfInviteNotice: vi.fn(() => undefined) },
|
||||
...overrides.apis?.contacts,
|
||||
},
|
||||
groupFile: {
|
||||
|
||||
Reference in new issue
Block a user