mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-22 11:20:58 +08:00
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.) |
||
|---|---|---|
| .. | ||
| create_memberships_for_auto_join_spec.rb | ||
| publish_and_follow_direct_message_channel_spec.rb | ||
| reset_user_last_read_channel_message_spec.rb | ||
| reset_user_last_read_thread_message_spec.rb | ||