discourse/plugins/chat/spec/models
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
category_spec.rb DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
user_spec.rb