Skip to content

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

FIX: reverts value check when reseting composer value (#20110)

Joffrey JAFFEUXdd4b28219631
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat-composer.js b/plugins/chat/assets/javascripts/discourse/components/chat-composer.js
index d9f39fbb7eb..932ca8f84f3 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat-composer.js
+++ b/plugins/chat/assets/javascripts/discourse/components/chat-composer.js
@@ -223,7 +223,6 @@ export default Component.extend(TextareaTextManipulation, {
this._super(...arguments);
if (
- !this.value &&
!this.editingMessage &&
this.draft &&
this.chatChannel?.canModifyMessages(this.currentUser)