Skip to content

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

FIX: Pasting files into chat was not working (#21995)

Martin Brennane48750281e35
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat-composer.hbs b/plugins/chat/assets/javascripts/discourse/components/chat-composer.hbs
index e46274ca138..4111e1a12c0 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat-composer.hbs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat-composer.hbs
@@ -109,7 +109,7 @@
@onUploadChanged={{this.onUploadChanged}}
@existingUploads={{this.currentMessage.uploads}}
@uploadDropZone={{@uploadDropZone}}
- @composerInputEl={{this.textareaInteractor.textarea}}
+ @composerInputEl={{this.composer.textarea.element}}
/>
{{/if}}