This commit is contained in:
手瓜一十雪 committed 2024-11-28 10:27:04 +08:00
1 parent 4576354c51
commit 9fcfb5493c
2 files changed
+4 -11

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ export class OneBotUserApi {
}
async parseLikeEvent(wrappedBody: Uint8Array): Promise<OB11ProfileLikeEvent | undefined> {
const likeTip = decodeProfileLikeTip(Uint8Array.from(wrappedBody));
const likeTip = decodeProfileLikeTip(wrappedBody);
if (likeTip?.msgType !== 0 || likeTip?.subType !== 203) return;
this.core.context.logger.logDebug("收到点赞通知消息");
const likeMsg = likeTip.content.msg;