mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
revert
This commit is contained in:
parent
00c3fcd033
commit
1025a07593
@ -262,26 +262,28 @@ export class NapCatOneBot11Adapter {
|
|||||||
likeTip.msg.time,
|
likeTip.msg.time,
|
||||||
)).catch(e => this.context.logger.logError('处理被点赞事件失败', e));
|
)).catch(e => this.context.logger.logError('处理被点赞事件失败', e));
|
||||||
};
|
};
|
||||||
// if (msgType === 732 && subType === 16 && subSubType === 16) {
|
/*
|
||||||
// const greyTip = GreyTipWrapper.fromBinary(Uint8Array.from(sysMsg.bodyWrapper!.wrappedBody.slice(7)));
|
if (msgType === 732 && subType === 16 && subSubType === 16) {
|
||||||
// if (greyTip.subTypeId === 36) {
|
const greyTip = GreyTipWrapper.fromBinary(Uint8Array.from(sysMsg.bodyWrapper!.wrappedBody.slice(7)));
|
||||||
// const emojiLikeToOthers = EmojiLikeToOthersWrapper1
|
if (greyTip.subTypeId === 36) {
|
||||||
// .fromBinary(greyTip.rest)
|
const emojiLikeToOthers = EmojiLikeToOthersWrapper1
|
||||||
// .wrapper!
|
.fromBinary(greyTip.rest)
|
||||||
// .body!;
|
.wrapper!
|
||||||
// if (emojiLikeToOthers.attributes?.operation !== 1) { // Un-like
|
.body!;
|
||||||
// return;
|
if (emojiLikeToOthers.attributes?.operation !== 1) { // Un-like
|
||||||
// }
|
return;
|
||||||
// const eventOrEmpty = await this.apis.GroupApi.createGroupEmojiLikeEvent(
|
}
|
||||||
// greyTip.groupCode.toString(),
|
const eventOrEmpty = await this.apis.GroupApi.createGroupEmojiLikeEvent(
|
||||||
// await this.core.apis.UserApi.getUinByUidV2(emojiLikeToOthers.attributes!.senderUid),
|
greyTip.groupCode.toString(),
|
||||||
// emojiLikeToOthers.msgSpec!.msgSeq.toString(),
|
await this.core.apis.UserApi.getUinByUidV2(emojiLikeToOthers.attributes!.senderUid),
|
||||||
// emojiLikeToOthers.attributes!.emojiId,
|
emojiLikeToOthers.msgSpec!.msgSeq.toString(),
|
||||||
// );
|
emojiLikeToOthers.attributes!.emojiId,
|
||||||
// // eslint-disable-next-line @typescript-eslint/no-unused-expressions
|
);
|
||||||
// eventOrEmpty && await this.networkManager.emitEvent(eventOrEmpty);
|
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
|
||||||
// }
|
eventOrEmpty && await this.networkManager.emitEvent(eventOrEmpty);
|
||||||
// }
|
}
|
||||||
|
}
|
||||||
|
*/
|
||||||
};
|
};
|
||||||
|
|
||||||
msgListener.onInputStatusPush = async data => {
|
msgListener.onInputStatusPush = async data => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user