discourse/plugins/chat
Loïc Guitaut eb09733391
FIX: Catch possible PG exception from Chat::AutoJoinChannels (#34132)
Currently, it can happen that the `Chat::AutoJoinChannels` service
raises a `PG::UniqueViolation` error. This is probably due to a race
condition. That exception is not rescued, leading to 500s.

This PR wraps the main step inside a `try` block and also inside a
`lock` block.
2025-08-07 12:50:22 +02:00
..
admin/assets/javascripts Build(deps-dev): Bump the lint group across 1 directory with 4 updates (#33881) 2025-07-28 18:02:41 +02:00
app FIX: Catch possible PG exception from Chat::AutoJoinChannels (#34132) 2025-08-07 12:50:22 +02:00
assets DEV: use floatkit autocomplete for chat composer (#33980) 2025-08-05 10:43:58 +08:00
config Update translations (#33892) 2025-07-28 18:38:22 +02:00
db FEATURE: One-click chat reaction settings (#32150) 2025-04-04 09:15:13 +02:00
lib DEV: add channel hashtag style type (#33284) 2025-06-20 10:04:36 +04:00
public
spec FIX: Catch possible PG exception from Chat::AutoJoinChannels (#34132) 2025-08-07 12:50:22 +02:00
test/javascripts Build(deps-dev): Bump the lint group across 1 directory with 4 updates (#33881) 2025-07-28 18:02:41 +02:00
about.json DEV: Only load specific plugin bundles during qunit test (#33678) 2025-07-21 21:00:48 +01:00
plugin.rb FIX: Catch possible PG exception from Chat::AutoJoinChannels (#34132) 2025-08-07 12:50:22 +02:00
README.md DEV: Chat service object initial implementation (#19814) 2023-02-13 13:09:57 +01:00

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.