discourse/plugins/chat/lib/discourse_dev
Loïc Guitaut 243793ec6e
DEV: Migrate `Chat::MessageCreator` to a service (#22390)
Currently, the logic for creating a new chat message is scattered
between a controller and an “old” service.

This patch address this issue by creating a new service (using the “new”
sevice object system) encapsulating all the necessary logic.
(authorization, publishing events, etc.)
2023-09-07 08:57:29 +02:00
..
category_channel.rb DEV: Migrate `Chat::MessageCreator` to a service (#22390) 2023-09-07 08:57:29 +02:00
message.rb DEV: Migrate `Chat::MessageCreator` to a service (#22390) 2023-09-07 08:57:29 +02:00
thread.rb DEV: Migrate `Chat::MessageCreator` to a service (#22390) 2023-09-07 08:57:29 +02:00