discourse/plugins/chat/app/models
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
..
chat FIX: chat replies are not always in a thread (#27023) 2024-05-16 16:10:23 +02:00
concerns/chat FEATURE: Thread indicator improvements and participants (#21909) 2023-06-15 10:49:27 +10:00