This commit is contained in:
idranme 2024-08-02 15:49:01 +00:00
parent a1f582399e
commit 8f899c40f2

View File

@ -131,7 +131,7 @@ export class OB11Constructor {
qq: qq!, qq: qq!,
name name
} }
} };
} }
else if (element.textElement) { else if (element.textElement) {
message_data['type'] = OB11MessageDataType.text; message_data['type'] = OB11MessageDataType.text;
@ -170,7 +170,7 @@ export class OB11Constructor {
message_data['data']['id'] = MessageUnique.createMsg({ peerUid: msg.peerUid, guildId: '', chatType: msg.chatType }, replyMsg.msgId)?.toString(); message_data['data']['id'] = MessageUnique.createMsg({ peerUid: msg.peerUid, guildId: '', chatType: msg.chatType }, replyMsg.msgId)?.toString();
//log("找到回复消息", message_data['data']['id'], replyMsg.msgList[0].msgId) //log("找到回复消息", message_data['data']['id'], replyMsg.msgList[0].msgId)
} catch (e: any) { } catch (e: any) {
message_data['type'] = "unknown" as any; message_data['type'] = 'unknown' as any;
message_data['data'] = undefined; message_data['data'] = undefined;
logError('获取不到引用的消息', e.stack, element.replyElement.replayMsgSeq); logError('获取不到引用的消息', e.stack, element.replyElement.replayMsgSeq);
} }