mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 14:54:48 +08:00
243793ec6e
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.) |
||
---|---|---|
.. | ||
auto_channel_user_removal_spec.rb | ||
custom_api_key_scopes_spec.rb | ||
plugin_api_spec.rb | ||
post_chat_quote_spec.rb | ||
thread_replies_count_cache_accuracy_spec.rb |