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

This commit is contained in:
Daniel 2024-05-13 09:32:53 +08:00
parent 251e8b3234
commit c6ab48818b
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -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,