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

Danielc6ab48818b45
diff --git a/kernel/model/repository.go b/kernel/model/repository.go
index 07d59380e2..d3adf9e18c 100644
--- a/kernel/model/repository.go
+++ b/kernel/model/repository.go
@@ -2025,6 +2025,8 @@ func pushReloadPlugin(upsertPluginSet, removePluginNameSet *hashset.Set) {
for _, n := range removePluginNameSet.Values() {
removePlugins = append(removePlugins, n.(string))
}
+
+ logging.LogInfof("reload plugins [upserts=%v, removes=%v]", upsertPlugins, removePlugins)
util.BroadcastByType("main", "reloadPlugin", 0, "", map[string]interface{}{
"upsertPlugins": upsertPlugins,
"removePlugins": removePlugins,