fix(core): resolve missing doubt-friend account ids before handle

Linux list replies often omit the id that the handle packet requires,
and a cache-only lookup cannot see filtered applicants.

Fixes #457
This commit is contained in:
DrSmoothl committed 2026-09-15 14:26:51 +08:00
1 parent c88c8e7517
commit aaf1e561d1
4 files changed
+159 -10

No files matched your search

+2 -1
View File
@@ -1903,7 +1903,8 @@ export const actions = [
},
}),
// set_doubt_friends_add_request — handle a 可疑好友申请 (0xd69_0). `flag` is
// the uid from the get list. approve → approvalDoubtBuddyReq; approve:false
// the uid from the get list, or the applicant's account number (resolved
// before the packet is built). approve → approvalDoubtBuddyReq; approve:false
// → delDoubtBuddyReq (reject/decline). NapCat only ever approves; we add the
// reject path since we RE'd delDoubtBuddyReq too.
defineAction({