修双重群名片的 bug
This commit is contained in:
parent
e2e0759890
commit
7703b4f127
3
index.ts
3
index.ts
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user