Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 2ab3041

Browse files
authored
Merge pull request #5816 from aaronraimist/redact-re-request
Prevent Re-request encryption keys from appearing under redacted messages
2 parents 7c4437a + 4974cb4 commit 2ab3041

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/views/rooms/EventTile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -936,7 +936,7 @@ export default class EventTile extends React.Component {
936936
);
937937

938938
const TooltipButton = sdk.getComponent('elements.TooltipButton');
939-
const keyRequestInfo = isEncryptionFailure ?
939+
const keyRequestInfo = isEncryptionFailure && !isRedacted ?
940940
<div className="mx_EventTile_keyRequestInfo">
941941
<span className="mx_EventTile_keyRequestInfo_text">
942942
{ keyRequestInfoContent }

0 commit comments

Comments
 (0)