From 83badefe7b94b3a7b45b2574c6c10024ab753c5a Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Fri, 23 Dec 2022 17:18:29 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E6=94=AF=E6=8C=81=E9=97=B4=E9=9A=94?= =?UTF-8?q?=E5=A4=8D=E4=B9=A0=20https://github.com/siyuan-note/siyuan/issu?= =?UTF-8?q?es/6710?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/model/repository.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/model/repository.go b/kernel/model/repository.go index 3188d62fa..1bbfb052f 100644 --- a/kernel/model/repository.go +++ b/kernel/model/repository.go @@ -812,7 +812,7 @@ func bootSyncRepo() (err error) { syncingFiles.Store(id, true) continue } - if strings.HasPrefix(name, "/storage/") { + if strings.HasPrefix(fetchedFile.Path, "/storage/") { syncingStorages = true } }