Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Add version info at the end of message in all error notifications Fix https://github.com/siyuan-note/siyuan/issues/7899

Liang Ding9fdefe15de0b
diff --git a/kernel/util/websocket.go b/kernel/util/websocket.go
index 9bcf48e8be..8892f2bb75 100644
--- a/kernel/util/websocket.go
+++ b/kernel/util/websocket.go
@@ -142,7 +142,6 @@ func PushMsg(msg string, timeout int) (msgId string) {
func PushErrMsg(msg string, timeout int) (msgId string) {
msgId = gulu.Rand.String(7)
- msg += msg + " v" + Ver // Add version info at the end of message in all error notifications https://github.com/siyuan-note/siyuan/issues/7899
BroadcastByType("main", "msg", -1, msg, map[string]interface{}{"id": msgId, "closeTimeout": timeout})
return
}