fix(subscribe): clean deleted rule group references

This commit is contained in:
jxxghp
2026-08-26 20:58:15 +08:00
parent 1933887472
commit 88703d645a
7 changed files with 311 additions and 101 deletions
+4 -1
View File
@@ -1192,7 +1192,10 @@ async def set_setting(
try:
with plugin_system_config_mutation(key):
success = await get_configured_system_config().async_set(key, value)
if success:
if success or (
success is None
and key == SystemConfigKey.UserFilterRuleGroups.value
):
# 发送配置变更事件
await eventmanager.async_send_event(
etype=EventType.ConfigChanged,