Skip to content

feat: show ban info in request notices 在申请信息中显示永久黑名单提示#2125

Merged
HibiKier merged 2 commits into
zhenxun-org:mainfrom
zixuanjiang332:feature/ban-tip-in-requests
Apr 27, 2026
Merged

feat: show ban info in request notices 在申请信息中显示永久黑名单提示#2125
HibiKier merged 2 commits into
zhenxun-org:mainfrom
zixuanjiang332:feature/ban-tip-in-requests

Conversation

@zixuanjiang332

Copy link
Copy Markdown
Contributor

变更内容

  • 好友申请通知中增加永久黑名单提示
  • 群组邀请通知中检查邀请者全局黑名单、邀请者在目标群的黑名单、目标群本身黑名单
  • 命中永久封禁时,在申请信息中展示目标、操作员 ID 和封禁原因

解决问题
收到好友或群组申请时,管理员可以直接在申请通知中看到相关用户或群组是否处于永久黑名单,避免误通过已封禁对象。
Closes #2032
验证

  • python -m compileall zhenxun\builtin_plugins\record_request.py
  • python -m ruff check zhenxun\builtin_plugins\record_request.py
  • git diff --check

@HibiKier HibiKier merged commit e7aaec8 into zhenxun-org:main Apr 27, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: 在申请信息中显示用户或群组是否被ban

2 participants