mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 02:05:45 +03:00
apply changes from review
This commit is contained in:
parent
7f141276ff
commit
727c189456
1 changed files with 1 additions and 1 deletions
|
@ -1316,7 +1316,7 @@ export default class InviteDialog extends React.PureComponent<IInviteDialogProps
|
|||
);
|
||||
const visibility = visibilityEvent && visibilityEvent.getContent() &&
|
||||
visibilityEvent.getContent().history_visibility;
|
||||
if (visibility == "world_readable" || visibility == "shared") {
|
||||
if (visibility === "world_readable" || visibility === "shared") {
|
||||
keySharingWarning =
|
||||
<div>
|
||||
{_t("Note: Decryption keys for old messages will be shared with invited users.")}
|
||||
|
|
Loading…
Reference in a new issue