diff --git a/client/src/components/Chat.jsx b/client/src/components/Chat.jsx
index 965c7f5c..64797a95 100644
--- a/client/src/components/Chat.jsx
+++ b/client/src/components/Chat.jsx
@@ -329,6 +329,18 @@ const Chat = () => {
setEditing({ isediting: true, messageID: id });
};
+ const handleQuoteReply = (id) => {
+ inputRef.current.focus();
+
+ const { message } = getMessage(id);
+ if (message.includes('Warning Message')) {
+ cancelEdit();
+ return;
+ }
+ inputRef.current.value = `${message} --> `;
+
+ };
+
const handleTypingStatus = debounce((e) => {
if (e.target.value.length > 0) {
socket
@@ -365,6 +377,15 @@ const Chat = () => {
);
};
+ const renderIconButtonReceiver = (props) => {
+ return (
+