修双重群名片的 bug

This commit is contained in:
lanyi 2021-01-04 07:44:07 +01:00
parent e2e0759890
commit 7703b4f127

@ -184,8 +184,9 @@ async function app() {
if (processed[1]?.type !== 'Plain') {
processed.splice(1, 0, { type: 'Plain', text: '' })
}
const firstPlain = processed[1] as Plain
const firstPlain = { ...processed[1] } as Plain
firstPlain.text = `${authorName}` + firstPlain.text
processed[1] = firstPlain
}
try {