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

Commit 46fd549

Browse files
committed
update with new suggested design
1 parent 727c189 commit 46fd549

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

src/components/views/dialogs/InviteDialog.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1318,9 +1318,12 @@ export default class InviteDialog extends React.PureComponent<IInviteDialogProps
13181318
visibilityEvent.getContent().history_visibility;
13191319
if (visibility === "world_readable" || visibility === "shared") {
13201320
keySharingWarning =
1321-
<div>
1322-
{_t("Note: Decryption keys for old messages will be shared with invited users.")}
1323-
</div>;
1321+
<p className='mx_InviteDialog_helpText'>
1322+
<img
1323+
src={require("../../../../res/img/element-icons/info.svg")}
1324+
width={14} height={14} />
1325+
{" " + _t("Invited people will be able to read old messages.")}
1326+
</p>;
13241327
}
13251328
}
13261329
} else if (this.props.kind === KIND_CALL_TRANSFER) {

src/i18n/strings/en_EN.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2154,7 +2154,7 @@
21542154
"Go": "Go",
21552155
"Invite someone using their name, email address, username (like <userId/>) or <a>share this room</a>.": "Invite someone using their name, email address, username (like <userId/>) or <a>share this room</a>.",
21562156
"Invite someone using their name, username (like <userId/>) or <a>share this room</a>.": "Invite someone using their name, username (like <userId/>) or <a>share this room</a>.",
2157-
"Note: Decryption keys for old messages will be shared with invited users.": "Note: Decryption keys for old messages will be shared with invited users.",
2157+
"Invited people will be able to read old messages.": "Invited people will be able to read old messages.",
21582158
"Transfer": "Transfer",
21592159
"a new master key signature": "a new master key signature",
21602160
"a new cross-signing key signature": "a new cross-signing key signature",

0 commit comments

Comments
 (0)