0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 13:08:40 +08:00
discourse/plugins/chat/lib/discourse_dev
Loïc Guitaut 8dd303826e
DEV: Refactor Chat::ListChannelThreadMessages a bit (#33380)
- Introduce a `max_page_size` option, allowing different behavior
between controllers and SDK.
- Improve the contract (validations & helper method).
- Use `model` where possible.
- Extract message existence logic to a dedicated policy, allowing easier
testing.
- Refactor specs to follow current guidelines/best practices.
2025-08-08 14:05:38 +02:00
..
category_channel.rb
message.rb
reviewable_message.rb
thread.rb DEV: Refactor Chat::ListChannelThreadMessages a bit (#33380) 2025-08-08 14:05:38 +02:00