mirror of https://github.com/vector-im/riot-web
Prevent Re-request encryption keys from appearing under redacted messages
Signed-off-by: Aaron Raimist <aaron@raim.ist>pull/21833/head
parent
33e8edb3d5
commit
4974cb43af
|
@ -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