discourse/plugins/chat/spec/lib
Natalie Tay 3228727eca
FIX: Prevent moderators from being auto-silenced (#39709)
Fixes a bug where moderators could be auto-silenced from chat flags.

The chat auto-silence path (further above) already skipped admins, but
not moderators. This adds the guard in `UserSilencer` itself so staff
targets return early before any side effects happen. For added context,
in guardian, `def can_silence_user?(user)` checks for `staff`.
2026-05-05 14:54:46 +08:00
..
chat FIX: Prevent moderators from being auto-silenced (#39709) 2026-05-05 14:54:46 +08:00
chat_sdk DEV: correctly handle contract error in chat sdk (#37446) 2026-02-02 12:14:52 +01:00
site_setting_extension_spec.rb FEATURE: Allow site settings to be edited throughout admin UI (#26154) 2024-03-18 08:50:39 +10:00
statistics_spec.rb FEATURE: participating users statistics (#28322) 2024-08-12 23:47:13 +02:00