[FIX] Message not rendering E2EE data if md exists (#4951)

This commit is contained in:
Diego Mello 2023-03-07 10:57:57 -03:00 committed by GitHub
parent 412f62eb2a
commit 58391964cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ const Content = React.memo(
content = ( content = (
<Markdown <Markdown
msg={props.msg} msg={props.msg}
md={props.md} md={props.type !== 'e2e' ? props.md : undefined}
getCustomEmoji={props.getCustomEmoji} getCustomEmoji={props.getCustomEmoji}
enableMessageParser={user.enableMessageParserEarlyAdoption} enableMessageParser={user.enableMessageParserEarlyAdoption}
username={user.username} username={user.username}