Prevent Re-request encryption keys from appearing under redacted messages

Signed-off-by: Aaron Raimist <aaron@raim.ist>
pull/21833/head
Aaron Raimist 2021-03-28 22:35:08 -05:00
parent 33e8edb3d5
commit 4974cb43af
No known key found for this signature in database
GPG Key ID: 37419210002890EF
1 changed files with 1 additions and 1 deletions

View File

@ -936,7 +936,7 @@ export default class EventTile extends React.Component {
); );
const TooltipButton = sdk.getComponent('elements.TooltipButton'); const TooltipButton = sdk.getComponent('elements.TooltipButton');
const keyRequestInfo = isEncryptionFailure ? const keyRequestInfo = isEncryptionFailure && !isRedacted ?
<div className="mx_EventTile_keyRequestInfo"> <div className="mx_EventTile_keyRequestInfo">
<span className="mx_EventTile_keyRequestInfo_text"> <span className="mx_EventTile_keyRequestInfo_text">
{ keyRequestInfoContent } { keyRequestInfoContent }