Merge pull request #3038 from Aerilym/ses-1319-render-mentions-in-private-chats

Fix: render mentions in private chat message body
pull/3053/head
Audric Ackermann 1 year ago committed by GitHub
commit 089adaa34d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -33,7 +33,7 @@ const renderNewLines: RenderTextCallbackType = ({ text: textWithNewLines, key, i
<AddNewLines
key={key}
text={textWithNewLines}
renderNonNewLine={isGroup ? renderMentions : renderTextDefault}
renderNonNewLine={renderMentions}
isGroup={isGroup}
/>
);

Loading…
Cancel
Save