mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-16 15:21:34 +03:00
Fix
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
a6deef76ea
commit
02c1378823
1 changed files with 2 additions and 2 deletions
|
@ -121,7 +121,7 @@ export default class SecurityRoomSettingsTab extends React.Component<IProps, ISt
|
|||
if (refreshWhenTypes.includes(e.getType())) this.forceUpdate();
|
||||
};
|
||||
|
||||
private _onEncryptionChange = async (e: React.ChangeEvent) => {
|
||||
private onEncryptionChange = async (e: React.ChangeEvent) => {
|
||||
if (this.state.joinRule == "public") {
|
||||
const {finished} = Modal.createTrackedDialog('Confirm Public Encrypted Room', '', QuestionDialog, {
|
||||
title: _t('Enable encryption in a public room?'),
|
||||
|
@ -239,7 +239,7 @@ export default class SecurityRoomSettingsTab extends React.Component<IProps, ISt
|
|||
});
|
||||
}
|
||||
|
||||
_onRoomAccessRadioToggle = (roomAccess) => {
|
||||
private onRoomAccessRadioToggle = (roomAccess) => {
|
||||
if (
|
||||
this.state.encrypted &&
|
||||
this.state.joinRule != "public" &&
|
||||
|
|
Loading…
Reference in a new issue