From 1f3646e8fabfeac7a47f1e57ea647e1dc456c420 Mon Sep 17 00:00:00 2001 From: cosmo Date: Tue, 9 Apr 2024 17:05:29 +0800 Subject: [PATCH] beta55 --- applogic/gensokyo.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applogic/gensokyo.go b/applogic/gensokyo.go index 1da9d80..cc16adb 100644 --- a/applogic/gensokyo.go +++ b/applogic/gensokyo.go @@ -428,7 +428,7 @@ func (app *App) GensokyoHandler(w http.ResponseWriter, r *http.Request) { } else { //最后一条了 messageSSE := structs.InterfaceBody{ - Content: newPart, + Content: newPart + "\n", State: 11, } utils.SendPrivateMessageSSE(message.UserID, messageSSE) @@ -449,7 +449,7 @@ func (app *App) GensokyoHandler(w http.ResponseWriter, r *http.Request) { } else { //最后一条了 messageSSE := structs.InterfaceBody{ - Content: response, + Content: response + "\n", State: 11, } utils.SendPrivateMessageSSE(message.UserID, messageSSE)