fix(protocol): set_group_special_title — send uinName so the title actually applies
The 0x8FC_2 body omitted uinName (tag 7), so the server accepted the request (errorCode 0) but silently never applied the title — looking like the feature was unsupported. Both NapCat (Oidb.0x8FC_2: uinName=title) and Lagrange (0x8FC body @7 UinName=title) set it; mirror them by sending uinName = title. No RE needed — two independent packet-based implementations agree on the field. Note: setting a special title is group-owner-only, so on-target validation requires a group the bot owns.
This commit is contained in:
3 files changed
+9
No files matched your search
@@ -20,6 +20,9 @@ export namespace SetSpecialTitle {
|
||||
targetUid: await ctx.resolveUserUid(p.userId, p.groupId),
|
||||
specialTitle: p.title,
|
||||
expireTime: -1,
|
||||
// Must mirror specialTitle, or the server accepts the request (errorCode 0)
|
||||
// but silently never applies the title (see OidbSpecialTitleBody note).
|
||||
uinName: p.title,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user