mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-18 06:27:19 +08:00
apply changes from review
This commit is contained in:
parent
7f141276ff
commit
727c189456
@ -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 New Issue
Block a user