Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/17549

Daniel0d09c8431768
diff --git a/kernel/model/file.go b/kernel/model/file.go
index 313ffe01dc..f7ae55a606 100644
--- a/kernel/model/file.go
+++ b/kernel/model/file.go
@@ -80,7 +80,7 @@ func (box *Box) docFromFileInfo(fileInfo *FileInfo, ial map[string]string) (ret
ret = &File{}
ret.Path = fileInfo.path
ret.Size = uint64(fileInfo.size)
- ret.Name = ial["title"] + ".sy"
+ ret.Name = ial["title"]
ret.Icon = ial["icon"]
ret.ID = ial["id"]
ret.Name1 = ial["name"]