提交 a1bb0613 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

add debug output for room event parser

上级 14b7d216
......@@ -115,7 +115,13 @@ export function roomJoinEventMessageParser(
}
}
const jsonPayload = toJson(tryXmlText, { object: true }) as XmlSchema
content = jsonPayload.sysmsg.delchatroommember.plain
try {
content = jsonPayload.sysmsg.delchatroommember.plain
} catch (e) {
console.error(e)
console.log('jsonPayload:', jsonPayload)
throw e
}
}
let matchesForBotInviteOtherEn = null as null | string[]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册