mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 07:18:06 +08:00
dbf3ff1738
We have been struggling a lot on this lately as it's almost impossible to write a decent test for this. The important things which need to happen: - fetch the unread/mention state and last message bus channel ids of each chat channels - stop all subscriptions - restart global chat subscriptions - update channels with new state and ensure the message bus ids are updated - restart subscriptions of each chat channel As a followup we need to start implementing a standard way to query for a resource state. Something similar to: `/channels/tracking` and `/channels/:id/tracking` Each of these endpoints would return a state similar to: ```json { tracking: { ... }, message_bus_ids: { ... } } |
||
---|---|---|
.. | ||
app | ||
assets | ||
config | ||
db | ||
lib | ||
public | ||
spec | ||
test/javascripts | ||
plugin.rb | ||
README.md |
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.