mirror of https://github.com/vector-im/riot-web
Merge pull request #5816 from aaronraimist/redact-re-request
Prevent Re-request encryption keys from appearing under redacted messagespull/21833/head
commit
2ab304189d
|
@ -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 }
|
||||
|
|
Loading…
Reference in New Issue