discourse/plugins/chat
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
..
app DEV: allows a context when creating a message (#25647) 2024-02-13 11:37:15 +01:00
assets DEV: allows a context when creating a message (#25647) 2024-02-13 11:37:15 +01:00
config Update translations (#25579) 2024-02-06 22:35:44 +01:00
db FIX: use site setting to show my threads chat footer tab (#25277) 2024-01-23 19:14:46 +08:00
lib DEV: allows a context when creating a message (#25647) 2024-02-13 11:37:15 +01:00
public
spec DEV: allows a context when creating a message (#25647) 2024-02-13 11:37:15 +01:00
test/javascripts FEATURE: Async load of category and chat hashtags (#25526) 2024-02-12 12:07:14 +02:00
plugin.rb DEV: Redesign chat mentions (#24752) 2024-01-17 15:24:01 +04: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.