We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
当群text类型消息包含:\n时,消息被截断。 检查可能是wechat4u/schema-mapper/message/message-parser-room.ts类中, 可能是消息内容处理存在问题 const parts = webMessageRawPayload.Content.split(':\n') if (parts.length > 1) { text = parts[1] } else { text = webMessageRawPayload.Content }
The text was updated successfully, but these errors were encountered:
Good catch! I would love to accept a PR with Unit Test to fix it!
Sorry, something went wrong.
The possible solution I discovered. const split = content.split(/^.+:\n/) Including the function roomMessageSentBySelf.
const split = content.split(/^.+:\n/)
roomMessageSentBySelf
No branches or pull requests
当群text类型消息包含:\n时,消息被截断。
检查可能是wechat4u/schema-mapper/message/message-parser-room.ts类中,
可能是消息内容处理存在问题
const parts = webMessageRawPayload.Content.split(':\n')
if (parts.length > 1) {
text = parts[1]
} else {
text = webMessageRawPayload.Content
}
The text was updated successfully, but these errors were encountered: