diff --git a/app/soapbox/features/chats/components/chat_box.js b/app/soapbox/features/chats/components/chat_box.js index 12b28d513..e307325a5 100644 --- a/app/soapbox/features/chats/components/chat_box.js +++ b/app/soapbox/features/chats/components/chat_box.js @@ -10,6 +10,7 @@ import { } from 'soapbox/actions/chats'; import { OrderedSet as ImmutableOrderedSet } from 'immutable'; import ChatMessageList from './chat_message_list'; +import UploadButton from 'soapbox/features/compose/components/upload_button'; const messages = defineMessages({ placeholder: { id: 'chat_box.input.placeholder', defaultMessage: 'Send a messageā€¦' }, @@ -91,6 +92,10 @@ class ChatBox extends ImmutablePureComponent { this.markRead(); } + handleFiles = (files) => { + // TODO: Upload attachment + } + render() { const { chatMessageIds, chatId, intl } = this.props; if (!chatMessageIds) return null; @@ -99,6 +104,7 @@ class ChatBox extends ImmutablePureComponent {
+