Merge branch 'master' into refactor/new-plugin-system

This commit is contained in:
Junyan Qin
2025-08-30 17:25:35 +08:00
11 changed files with 101 additions and 31 deletions

View File

@@ -30,6 +30,10 @@ class BanSessionCheckStage(stage.PipelineStage):
if sess == f'{query.launcher_type.value}_{query.launcher_id}':
found = True
break
# 使用 *_id 来表示加白/拉黑某用户的私聊和群聊场景
if sess.startswith('*_') and (sess[2:] == query.launcher_id or sess[2:] == query.sender_id):
found = True
break
ctn = False