discourse/plugins
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
..
automation FIX: thread safety for active automation tracking (#27044) 2024-05-16 13:34:24 +10:00
chat FIX: chat replies are not always in a thread (#27023) 2024-05-16 16:10:23 +02:00
checklist UX: loading spinner when clicking an item 2024-04-25 18:45:38 +02:00
discourse-details DEV: refactor morphed preview specs 2024-04-10 10:36:20 +02:00
discourse-lazy-videos Update translations (#27017) 2024-05-14 16:19:44 +02:00
discourse-local-dates DEV: Avoid using the old action helper (#26935) 2024-05-08 20:26:48 +02:00
discourse-narrative-bot Update translations (#26463) 2024-04-02 18:19:46 +02:00
discourse-presence DEV: Add appEvents for composer / DEditor toolbar events (#26517) 2024-04-05 08:35:25 -05:00
footnote FEATURE: Allow dismissing tooltips by clicking their button (#26668) 2024-04-18 13:16:55 +02:00
poll DEV: Avoid using the old action helper (#26935) 2024-05-08 20:26:48 +02:00
spoiler-alert DEV: Remove unnecessary rails_helper requiring (#26364) 2024-03-26 11:32:01 +01:00
styleguide DEV: Avoid using the old action helper (#26935) 2024-05-08 20:26:48 +02:00