discourse/plugins/chat/app
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
..
controllers/chat FIX: allows bots to create/update/stream messages (#26900) 2024-05-07 15:17:42 +02:00
jobs DEV: Move chat service objects into core (#26506) 2024-04-04 10:57:41 -03:00
models FIX: chat replies are not always in a thread (#27023) 2024-05-16 16:10:23 +02:00
policies DEV: Migrate Chat::MessageCreator to a service (#22390) 2023-09-07 08:57:29 +02:00
queries/chat DEV: adds first_messages/last_messages to thread SDK (#26861) 2024-05-03 17:30:39 +02:00
serializers/chat FIX: add excerpt fallback for chat message replies (#26834) 2024-05-01 16:39:47 +02:00
services/chat FIX: allows bots to create/update/stream messages (#26900) 2024-05-07 15:17:42 +02:00
validators/chat DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
views UX: update to variable text color for variable background (#26676) 2024-04-18 14:12:16 -04:00