mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 01:58:05 +08:00
FEATURE: encourage users to set chat thread titles (#26617)
This change encourages users to title their threads to make it easier for other users to join in on conversations that matter to them. The creator of the chat thread will receive a toast notification prompting them to add a thread title when on mobile and the thread has at least 5 sent replies.
This commit is contained in:
@ -49,6 +49,8 @@ Chat::Engine.routes.draw do
|
||||
post "/channels/:channel_id/threads/:thread_id/drafts" => "channels_threads_drafts#create"
|
||||
put "/channels/:channel_id/threads/:thread_id/notifications-settings/me" =>
|
||||
"channel_threads_current_user_notifications_settings#update"
|
||||
post "/channels/:channel_id/threads/:thread_id/mark-thread-title-prompt-seen/me" =>
|
||||
"channel_threads_current_user_title_prompt_seen#update"
|
||||
|
||||
# TODO (martin) Remove this when we refactor the DM channel creation to happen
|
||||
# via message creation in a different API controller.
|
||||
|
Reference in New Issue
Block a user