diff --git a/src/common/component/LeaveChannel/LeaveConfirmModal.js b/src/common/component/LeaveChannel/LeaveConfirmModal.js index cf9f7e0d..b4c493be 100644 --- a/src/common/component/LeaveChannel/LeaveConfirmModal.js +++ b/src/common/component/LeaveChannel/LeaveConfirmModal.js @@ -25,7 +25,7 @@ export default function LeaveConfirmModal({ id, closeModal, handleNextStep }) { title="Leave Channel" description={ isOwner - ? "You have to transfer the ownership first" + ? "You need to transfer your channel ownership to someone else before leaving the channel." : "Are you sure want to leave this channel?" } buttons={ diff --git a/src/common/component/Send/index.js b/src/common/component/Send/index.js index 0f2c1408..c0fc885a 100644 --- a/src/common/component/Send/index.js +++ b/src/common/component/Send/index.js @@ -5,7 +5,6 @@ import { useDispatch, useSelector } from "react-redux"; import useSendMessage from "../../hook/useSendMessage"; import useAddLocalFileMessage from "../../hook/useAddLocalFileMessage"; -import { removeReplyingMessage } from "../../../app/slices/message"; import { updateInputMode, updateUploadFiles } from "../../../app/slices/ui"; import { ContentTypes } from "../../../app/config"; @@ -90,9 +89,6 @@ function Send({ from_uid, properties, }); - if (replying_mid) { - dispatch(removeReplyingMessage(id)); - } } } // send files