mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 06:24:48 +08:00
Backport of #41923 to release/2026.1. --- ## Summary Correctly enforce the PM allowlist preference (`enable_allowed_pm_users`) when an excluded user attempts to send a message in an existing one-to-one direct message channel. Previously, the Guardian helper did not check the allowlist, allowing excluded users to continue sending messages after the recipient enabled the restriction. The fix integrates `UserCommScreener` into the recipient authorization check, also preventing thread creation and updating user card chat availability accordingly. ## Source - Patch Triage: https://patch.discourse.org/patch-triage/1454 Co-authored-by: discourse-patch-triage <272280883+discourse-patch-triage[bot]@users.noreply.github.com> --------- Co-authored-by: Isaac Janzen <50783505+janzenisaac@users.noreply.github.com> Co-authored-by: Isaac Janzen <isaac.janzen@discourse.org> |
||
|---|---|---|
| .. | ||
| admin/assets/javascripts | ||
| app | ||
| assets | ||
| config | ||
| db | ||
| lib | ||
| public | ||
| spec | ||
| test/javascripts | ||
| about.json | ||
| package.json | ||
| plugin.rb | ||
| README.md | ||
| tsconfig.json | ||
This plugin is still in active development and may change frequently
Documentation
The Discourse Chat plugin adds chat functionality to your Discourse so it can natively support both long-form and short-form communication needs of your online community.
For user documentation, see Discourse Chat.
For developer documentation, see Discourse Documentation.