discourse/plugins/chat/app/services
Joffrey JAFFEUX 5fec841c19
FIX: ensures users can open channel invites (#24067)
We were incorrectly generating URLs with message id even when it was not provided, resulting in a route ending with "undefined", which was causing an error.

This commit also uses this opportunity to:
- move `invite_users` into a proper controller inside the API namespace
- refactors the code into a service: `Chat::InviteUsersToChannel`
2023-10-24 18:51:33 +02:00
..
chat FIX: ensures users can open channel invites (#24067) 2023-10-24 18:51:33 +02:00
service DEV: Migrate Chat::MessageCreator to a service (#22390) 2023-09-07 08:57:29 +02:00
service.rb DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00