Merge pull request #5816 from aaronraimist/redact-re-request

Prevent Re-request encryption keys from appearing under redacted messages
pull/21833/head
Travis Ralston 2021-03-31 18:23:47 -06:00 committed by GitHub
commit 2ab304189d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 keyRequestInfo = isEncryptionFailure ?
const keyRequestInfo = isEncryptionFailure && !isRedacted ?
<div className="mx_EventTile_keyRequestInfo">
<span className="mx_EventTile_keyRequestInfo_text">
{ keyRequestInfoContent }