discourse/plugins/chat
Régis Hanol 02469d5795
FIX: chat replies are not always in a thread (#27023)
When you reply to a chat message, we [always create a thread][1]. But when the channel we're in doesn't have threading enabled, the reply is _technically_ not a thread.

This changes the `in_thread?` method to check for both the presence of a `thread_id` and to ensure that the channel has `threading_enabled`.

Internal ref - t/128103/3

[1]: e6e3eaf472/plugins/chat/app/services/chat/create_message.rb (L110-L115)
2024-05-16 16:10:23 +02:00
..
app FIX: chat replies are not always in a thread (#27023) 2024-05-16 16:10:23 +02:00
assets DEV: Remove legacy styles for LazyYT (#27047) 2024-05-16 09:53:59 -03:00
config Update translations (#27017) 2024-05-14 16:19:44 +02:00
db FEATURE: encourage users to set chat thread titles (#26617) 2024-04-29 17:20:01 +08:00
lib DEV: Use site setting mandatory_values for chat allowed groups (#26994) 2024-05-13 14:38:26 +10:00
public
spec FIX: chat replies are not always in a thread (#27023) 2024-05-16 16:10:23 +02:00
test/javascripts DEV: allows for multiple menus/tooltips (#26823) 2024-05-07 23:48:44 +02:00
plugin.rb FEATURE: encourage users to set chat thread titles (#26617) 2024-04-29 17:20:01 +08: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.