discourse/plugins/chat/app
Joffrey JAFFEUX 06bbed69f9
DEV: allows a context when creating a message (#25647)
The service `Chat::CreateMessage` will now accept `context_post_ids` and `context_topic_id` as params. These values represent the topic which might be visible when sending a message (for now, this is only possible when using the drawer).

The `DiscourseEvent` `chat_message_created` will now have the following signature:

```ruby
on(:chat_message_created) do | message, channel, user, meta|
  p meta[:context][:post_ids]
end
```
2024-02-13 11:37:15 +01:00
..
controllers/chat DEV: remove user thread count route (#25385) 2024-01-24 10:32:34 +08:00
helpers/chat FEATURE: Mark all chat channels read with a shortcut (#20629) 2023-03-22 13:24:07 +10:00
jobs PERF: Avoid loading the whole record when we only need id (#25301) 2024-01-18 08:50:26 +08:00
models DEV: Redesign chat mentions (#24752) 2024-01-17 15:24:01 +04:00
policies DEV: Migrate Chat::MessageCreator to a service (#22390) 2023-09-07 08:57:29 +02:00
queries/chat FIX: correctly exclude muted channels from thread unreads (#25339) 2024-01-19 22:05:41 +01:00
serializers/chat FEATURE: Allow users to DM groups in chat (#25189) 2024-01-19 11:09:47 -03:00
services DEV: allows a context when creating a message (#25647) 2024-02-13 11:37:15 +01:00
validators/chat DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
views FIX: correctly uses private_email site setting in chat (#24528) 2023-11-23 15:54:22 +01:00