Skip to content

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

:sparkles: Shorthands on mobile https://github.com/siyuan-note/siyuan/issues/14414

Danielc111b036edd4
diff --git a/kernel/model/sync.go b/kernel/model/sync.go
index 753a60f28c..2d8b1a3aab 100644
--- a/kernel/model/sync.go
+++ b/kernel/model/sync.go
@@ -157,6 +157,10 @@ func BootSyncData() {
code = 2
}
util.BroadcastByType("main", "syncing", code, Conf.Sync.Stat, nil)
+ if 1 == code {
+ // 启动同步成功后消费本地速记临时文件,避免移动端开启云同步时需手动触发同步才能刷新闪念速记
+ consumeShorthands()
+ }
return
}