Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

ref(chat): removed unused getChatInputRef callback for input

Leonard Kimf1546008f9ab
diff --git a/react/features/chat/components/web/ChatInput.js b/react/features/chat/components/web/ChatInput.js
index 51564d096e..e76828e899 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<any>,
- /**
- * 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<Props, State> {
*/
_setTextAreaRef(textAreaElement: ?HTMLTextAreaElement) {
this._textArea = textAreaElement;
-
- if (this.props.getChatInputRef) {
- this.props.getChatInputRef(textAreaElement);
- }
}
}