mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 05:47:11 +00:00
fix: at都被挤到消息最前面的问题
This commit is contained in:
parent
7bf5996dce
commit
8bdbd623b3
10 changed files with 18 additions and 53 deletions
|
|
@ -489,6 +489,10 @@ export async function convertFaces (msg, handleAt = false, e) {
|
|||
if (!foundFace) {
|
||||
if (handleAt && msg[i] === '@') {
|
||||
foundAt = true
|
||||
if (tmpMsg) {
|
||||
msgs.push(tmpMsg)
|
||||
tmpMsg = ''
|
||||
}
|
||||
continue
|
||||
}
|
||||
if (handleAt && foundAt) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue