修改群名片显示逻辑
This commit is contained in:
parent
2657d80bae
commit
6a992e0929
2
index.ts
2
index.ts
@ -185,7 +185,7 @@ async function app() {
|
|||||||
processed.splice(1, 0, { type: 'Plain', text: '' })
|
processed.splice(1, 0, { type: 'Plain', text: '' })
|
||||||
}
|
}
|
||||||
const firstPlain = { ...processed[1] } as Plain
|
const firstPlain = { ...processed[1] } as Plain
|
||||||
firstPlain.text = `【${authorName}】` + firstPlain.text
|
firstPlain.text = `${authorName} (${messageAuthor}):\n` + firstPlain.text
|
||||||
processed[1] = firstPlain
|
processed[1] = firstPlain
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user