Prevent Re-request encryption keys from appearing under redacted messages
Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
parent
33e8edb3d5
commit
4974cb43af
1 changed files with 1 additions and 1 deletions
|
@ -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 }
|
||||||
|
|
Loading…
Reference in a new issue