discourse/plugins/chat/app/services
Joffrey JAFFEUX 384a8b17a1
FIX: leaving a group channel should destroy membership (#24631)
In other kind of channels we will only unfollow but for group channels we don't want people to keep appearing in members list.

This commit also creates appropriate services:
- `Chat::LeaveChannel`
- `Chat::UnfollowChannel`

And dedicated endpoint for unfollow: `DELETE /chat/api/channels/:id/memberships/me/follows`
2023-11-29 17:48:14 +01:00
..
chat FIX: leaving a group channel should destroy membership (#24631) 2023-11-29 17:48:14 +01: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