feat(onebot): report profile like as notify/profile_like
Decode the multiplexed 0x210 subType-39 push: when body.msgContent is a
ProfileLikeTip with inner msgType==0/subType==203, emit notify/profile_like
{operator_id, operator_nick, times}. times is parsed from detail.txt.
Proto shape from NapCat's raw decoder; wiring + decode verified, but the
byte-exact wire is pending a real like capture to confirm.
This commit is contained in:
8 files changed
+135
-1
No files matched your search
@@ -8,6 +8,7 @@ import {
|
||||
import {
|
||||
convertFriendAdd,
|
||||
convertFriendInputStatus,
|
||||
convertFriendProfileLike,
|
||||
convertFriendPoke,
|
||||
convertFriendRecall,
|
||||
convertGroupAdmin,
|
||||
@@ -83,6 +84,7 @@ const CONVERTERS: ConverterRegistry = {
|
||||
group_file_upload: convertGroupFileUpload,
|
||||
friend_add: convertFriendAdd,
|
||||
friend_input_status: convertFriendInputStatus,
|
||||
friend_profile_like: convertFriendProfileLike,
|
||||
group_name_change: convertGroupNameChange,
|
||||
group_title_change: convertGroupTitleChange,
|
||||
group_card_change: convertGroupCardChange,
|
||||
|
||||
Reference in new issue
Block a user