Skip to content

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

:bug: After uninstalling the plugin, data synchronization does not uninstall it https://github.com/siyuan-note/siyuan/issues/11277

Danield0022293c87f
diff --git a/kernel/model/repository.go b/kernel/model/repository.go
index a3686a077b..07d59380e2 100644
--- a/kernel/model/repository.go
+++ b/kernel/model/repository.go
@@ -2018,7 +2018,7 @@ func getCloudSpace() (stat *cloud.Stat, err error) {
}
func pushReloadPlugin(upsertPluginSet, removePluginNameSet *hashset.Set) {
- var upsertPlugins, removePlugins []string
+ upsertPlugins, removePlugins := []string{}, []string{}
for _, n := range upsertPluginSet.Values() {
upsertPlugins = append(upsertPlugins, n.(string))
}