From 9fdefe15de0bc58449699974308278fbb1a44f13 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Thu, 6 Apr 2023 15:22:02 +0800 Subject: [PATCH] :art: Add version info at the end of message in all error notifications Fix https://github.com/siyuan-note/siyuan/issues/7899 --- kernel/util/websocket.go | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/util/websocket.go b/kernel/util/websocket.go index 9bcf48e8b..8892f2bb7 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 }