feat: mentions in mixedInput
This commit is contained in:
@@ -150,7 +150,13 @@ export default function ChannelChat({ cid = "", dropFiles = [] }) {
|
||||
})}
|
||||
</div>
|
||||
</div>
|
||||
<Send key={cid} id={cid} type="channel" name={name} />
|
||||
<Send
|
||||
key={cid}
|
||||
id={cid}
|
||||
context="channel"
|
||||
name={name}
|
||||
members={memberIds}
|
||||
/>
|
||||
</div>
|
||||
</StyledChannelChat>
|
||||
{/* {unreads != 0 && (
|
||||
|
||||
@@ -71,6 +71,7 @@ export const renderPreviewMessage = (message = null) => {
|
||||
return res;
|
||||
};
|
||||
export const renderMessageFragment = ({
|
||||
isFirst = false,
|
||||
read = true,
|
||||
updateReadIndex,
|
||||
prev = null,
|
||||
@@ -95,6 +96,7 @@ export const renderMessageFragment = ({
|
||||
<React.Fragment key={mid}>
|
||||
{divider && <Divider content={divider}></Divider>}
|
||||
<Message
|
||||
isFirst={isFirst}
|
||||
updateReadIndex={updateReadIndex}
|
||||
read={read}
|
||||
context={context}
|
||||
|
||||
Reference in New Issue
Block a user