discourse/plugins/chat/app/services/chat
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
..
action FEATURE: Create and update thread memberships (#21501) 2023-05-11 14:35:26 +02:00
auto_remove FEATURE: Auto-remove users without permission from channel (#20344) 2023-03-22 10:19:59 +10:00
channel_view_builder.rb FEATURE: Track last_viewed_at datetime for channel members (#22294) 2023-06-29 09:22:17 +10:00
create_category_channel.rb FEATURE: allows to enable/disable threading in UI (#22307) 2023-06-29 07:19:12 +02:00
create_direct_message_channel.rb FEATURE: new jump to channel menu (#22383) 2023-07-05 18:18:27 +02:00
lookup_channel_threads.rb FIX: Better handling of deleted thread original messages (#22402) 2023-07-06 09:47:34 +10:00
lookup_thread.rb FEATURE: Sort thread list by unread threads first (#22272) 2023-06-28 13:14:01 +10:00
mark_all_user_channels_read.rb FEATURE: Initial chat thread unread indicators (#21694) 2023-05-25 09:56:19 +02:00
message_destroyer.rb FIX: Incorrect unread count shown in channel when message deleted (#21410) 2023-05-05 15:28:48 +02:00
publisher.rb FIX: correctly makes dm creator to follow channel (#22470) 2023-07-06 21:42:19 +02:00
restore_message.rb FEATURE: Thread indicator improvements and participants (#21909) 2023-06-15 10:49:27 +10:00
search_chatable.rb FIX: do not filter on category name (#22442) 2023-07-05 21:12:39 +02:00
tracking_state.rb DEV: Chat API channel#show changes for threading (#21632) 2023-05-22 13:59:46 +02:00
trash_channel.rb
trash_message.rb FEATURE: Thread indicator improvements and participants (#21909) 2023-06-15 10:49:27 +10:00
update_channel.rb FIX: Mark threads read when threading enabled for a channel (#22458) 2023-07-06 16:24:56 +10:00
update_channel_status.rb
update_thread.rb FEATURE: Thread list initial UI (#21412) 2023-05-10 11:42:32 +02:00
update_thread_notification_settings.rb FEATURE: Allow users to manually track threads without replying (#22100) 2023-06-16 12:08:26 +10:00
update_user_last_read.rb FEATURE: Track last_viewed_at datetime for channel members (#22294) 2023-06-29 09:22:17 +10:00
update_user_thread_last_read.rb FEATURE: Allow users to manually track threads without replying (#22100) 2023-06-16 12:08:26 +10:00