mirror of
https://github.com/discourse/discourse.git
synced 2025-02-05 19:11:13 +00:00
Using CTEs and DISTINCT ON to: - Pre-filter active users with correct preferences - Get only first unread message per channel - Eliminate redundant joins and message scanning This reduces the query execution time by limiting message scanning and joins to only relevant users and messages. Internal ref t/142836 & t/139517
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.