discourse/plugins/chat/app
Joffrey JAFFEUX c0808b2537
FIX: correctly makes dm creator to follow channel (#22470)
In previous changes we prevented creating a channel to also make users follow the channel. We were forcing recipients to follow the channel on message sent but this was not including the creator of the message itself.

This commit fixes it and also write an end-to-end system spec to cover these cases. The message creator service is currently being rewritten and should correctly test and ensure this logic is present.

This commit also makes changes on the frontend to instantly follow a DM when you open it, this change prevents a green dot to appear for a split second when you send a message in a channel you were previously not following. Only recipients will see the green dot.
2023-07-06 21:42:19 +02:00
..
controllers/chat FIX: correctly makes dm creator to follow channel (#22470) 2023-07-06 21:42:19 +02:00
helpers/chat FEATURE: Mark all chat channels read with a shortcut (#20629) 2023-03-22 13:24:07 +10:00
jobs FIX: Mark threads read when threading enabled for a channel (#22458) 2023-07-06 16:24:56 +10:00
models FIX: Mark threads read when threading enabled for a channel (#22458) 2023-07-06 16:24:56 +10:00
policies DEV: Refactor DM channel creation into new service pattern (#22144) 2023-07-03 10:18:37 +10:00
queries/chat FIX: Better handling of deleted thread original messages (#22402) 2023-07-06 09:47:34 +10:00
serializers/chat FEATURE: new jump to channel menu (#22383) 2023-07-05 18:18:27 +02:00
services FIX: correctly makes dm creator to follow channel (#22470) 2023-07-06 21:42:19 +02:00
validators/chat DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
views DEV: Move `discourse-chat` to the core repo. (#18776) 2022-11-02 10:41:30 -03:00