discourse/plugins/chat/spec/lib
Loïc Guitaut 5d2ec6461d DEV: Refactor a little chat uploads
This is extracted from #22390.

This patch simplifies a little how we handle uploads in chat, relying on
ActiveRecord mechanisms instead of calling custom methods.

This also makes `Chat::Message#validate_message` a “real” AR validation,
meaning it will run automatically when `#valid?` is called.
2023-07-24 11:13:57 +02:00
..
chat DEV: Refactor a little chat uploads 2023-07-24 11:13:57 +02:00
service_runner_spec.rb DEV: Allow chat services to have optional models 2023-07-20 17:27:44 +02:00