Skip to content

A platform for community discussion. Free, open, simple.

FIX: increase chat thread title limit (#30006)

Joffrey JAFFEUXc42248670d76
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat/modal/thread-settings.gjs b/plugins/chat/assets/javascripts/discourse/components/chat/modal/thread-settings.gjs
index 4cf9bba0218..f4e2280e539 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat/modal/thread-settings.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat/modal/thread-settings.gjs
@@ -66,13 +66,13 @@ export default class ChatModalThreadSettings extends Component {
<Input
name="thread-title"
class="chat-modal-thread-settings__title-input"
- maxlength="50"
+ maxlength="100"
placeholder={{i18n "chat.thread_title_modal.input_placeholder"}}
@type="text"
@value={{this.editedTitle}}
/>
<div class="thread-title-length">
- <span>{{this.threadTitleLength}}</span>/50
+ <span>{{this.threadTitleLength}}</span>/100
</div>
{{#if this.currentUser.admin}}