discourse/plugins/chat
Martin Brennan 6efae69c61
FIX: Doubled up or not tracked threads in thread list (#22631)
This commit fixes two issues with the thread list:

1. All threads were being shown regardless of whether the user had
   a membership in the thread. This was happening because the list
   and the channel share the same thread store, so if the channel
   had OMs with threads we would load them and they showed in the list.
2. Threads created by the user from a staged thread would double up.
   This is because the _cache in the channel threadsManager would use
   the staged thread ID even after we'd replaced the object's ID with
   the actual thread from the DB. The answer to this is to remove and
   re-add the thread to the local cache with the actual ID.
2023-07-19 10:09:22 +10:00
..
app FEATURE: Show unread in sidebar for unread channel threads (#22342) 2023-07-17 13:00:49 +10:00
assets FIX: Doubled up or not tracked threads in thread list (#22631) 2023-07-19 10:09:22 +10:00
config FEATURE: enable_public_channels site setting (#22565) 2023-07-13 10:00:25 +02:00
db DEV: Add last_message_id to channel and thread (#22488) 2023-07-13 10:28:11 +10:00
lib FIX: Update last_read_message_id when moving chat messages (#22643) 2023-07-18 12:46:54 -03:00
public DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
spec FIX: Doubled up or not tracked threads in thread list (#22631) 2023-07-19 10:09:22 +10:00
test/javascripts DEV: Add last_message_id to channel and thread (#22488) 2023-07-13 10:28:11 +10:00
plugin.rb FEATURE: Show unread in sidebar for unread channel threads (#22342) 2023-07-17 13:00:49 +10: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.