diff --git a/react/features/chat/components/web/ChatInput.js b/react/features/chat/components/web/ChatInput.js index 51564d096..e76828e89 100644 --- a/react/features/chat/components/web/ChatInput.js +++ b/react/features/chat/components/web/ChatInput.js @@ -21,11 +21,6 @@ type Props = { */ dispatch: Dispatch, - /** - * Optional callback to get a reference to the chat input element. - */ - getChatInputRef?: Function, - /** * Invoked to obtain translated strings. */ @@ -223,10 +218,6 @@ class ChatInput extends Component { */ _setTextAreaRef(textAreaElement: ?HTMLTextAreaElement) { this._textArea = textAreaElement; - - if (this.props.getChatInputRef) { - this.props.getChatInputRef(textAreaElement); - } } }