Skip to content

Commit

Permalink
Merge pull request #3038 from Aerilym/ses-1319-render-mentions-in-pri…
Browse files Browse the repository at this point in the history
…vate-chats

Fix: render mentions in private chat message body
  • Loading branch information
Bilb committed Mar 15, 2024
2 parents 298b474 + 153b53e commit 089adaa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const renderNewLines: RenderTextCallbackType = ({ text: textWithNewLines, key, i
<AddNewLines
key={key}
text={textWithNewLines}
renderNonNewLine={isGroup ? renderMentions : renderTextDefault}
renderNonNewLine={renderMentions}
isGroup={isGroup}
/>
);
Expand Down

0 comments on commit 089adaa

Please sign in to comment.